6a455db8f33ceefa0f8c544dc427ba6402f85588,gpflow/conditionals/mo_conditionals.py,,inducing_point_conditional,#Any#Any#Any#Any#,144

Before Change


    Kmn = covariances.Kuf(inducing_variable, kernel, Xnew)  // [M, L, N, P]
    Knn = kernel(Xnew, full=full_cov, full_output_cov=full_output_cov)  // [N, P](x N)x P  or  [N, P](x P)

    M, L, N, K = [Kmn.shape[i] for i in range(Kmn.shape.ndims)]
    Kmm = tf.reshape(Kmm, (M * L, M * L))

    if full_cov == full_output_cov:
        Kmn = tf.reshape(Kmn, (M * L, N * K))

After Change


    Kmn = covariances.Kuf(inducing_variable, kernel, Xnew)  // [M, L, N, P]
    Knn = kernel(Xnew, full=full_cov, full_output_cov=full_output_cov)  // [N, P](x N)x P  or  [N, P](x P)

    M, L, N, K = tf.unstack(tf.shape(Kmn), num=Kmn.shape.ndims, axis=0)
    Kmm = tf.reshape(Kmm, (M * L, M * L))

    if full_cov == full_output_cov:
        Kmn = tf.reshape(Kmn, (M * L, N * K))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: GPflow/GPflow
Commit Name: 6a455db8f33ceefa0f8c544dc427ba6402f85588
Time: 2020-01-07
Author: st--@users.noreply.github.com
File Name: gpflow/conditionals/mo_conditionals.py
Class Name:
Method Name: inducing_point_conditional


Project Name: GPflow/GPflow
Commit Name: 6a455db8f33ceefa0f8c544dc427ba6402f85588
Time: 2020-01-07
Author: st--@users.noreply.github.com
File Name: gpflow/conditionals/util.py
Class Name:
Method Name: fully_correlated_conditional_repeat


Project Name: GPflow/GPflow
Commit Name: 6a455db8f33ceefa0f8c544dc427ba6402f85588
Time: 2020-01-07
Author: st--@users.noreply.github.com
File Name: gpflow/conditionals/util.py
Class Name:
Method Name: independent_interdomain_conditional