be14d17696f15d11a8075e4943c718320ca97a45,gpflow/conditionals/mo_sample_conditionals.py,,_sample_conditional,#Any#Any#Any#Any#,13

Before Change


    g_mu, g_var = independent_cond(Xnew, feat, kern, f, white=white, q_sqrt=q_sqrt,
                                   full_output_cov=False, full_cov=False)  // [N, L], [N, L]
    g_sample = sample_mvn(g_mu, g_var, "diag")  // [N, L]
    f_sample = tf.einsum("pl, nl -> np", kern.W(), g_sample)
    return f_sample

After Change


                                  white=white, q_sqrt=q_sqrt)  // [..., N, L], [..., N, L]
    g_sample = sample_mvn(g_mu, g_var, "diag", num_samples=num_samples)  // [..., (S), N, L]
    f_mu, f_var = mix_latent_gp(kern.W, g_mu, g_var, full_cov, full_output_cov)
    f_sample = tf.tensordot(g_sample, kern.W, [[-1], [-1]])  // [..., N, P]
    return f_sample, f_mu, f_var
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GPflow/GPflow
Commit Name: be14d17696f15d11a8075e4943c718320ca97a45
Time: 2019-03-18
Author: art.art.v@gmail.com
File Name: gpflow/conditionals/mo_sample_conditionals.py
Class Name:
Method Name: _sample_conditional


Project Name: Bihaqo/t3f
Commit Name: f448440369410e8ad8fce3a756958424fff6cd8e
Time: 2017-03-22
Author: novikov@bayesgroup.ru
File Name: t3f/riemannian.py
Class Name:
Method Name: project


Project Name: geomstats/geomstats
Commit Name: aba65f959fb114e67103a061e92ab5596c557d3d
Time: 2018-12-27
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_exp