20a3f495691b621165cc7fcce1bca917516edf9a,GPflow/ekernels.py,RBF,exKxz,#RBF#Any#Any#Any#,49
Before Change
vec = tf.expand_dims(Z, 0) - tf.expand_dims(Xmum, 1) // NxMxD
rsm = tf.tile(tf.expand_dims(scalemat, 1), (1, M, 1, 1)) // Reshaped scalemat
smIvec = tf.matrix_solve(rsm, tf.expand_dims(vec, 3))[:, :, :, 0] // NxMxDx1
q = tf.reduce_sum(smIvec * vec, [2]) // NxM
After Change
tf.expand_dims(eye(tf.shape(Xmu)[1]), 0) + tf.reshape(lengthscales ** -2.0, (1, 1, -1)) * Xsigm
) // N
vec = tf.expand_dims(tf.transpose(Z), 0) - tf.expand_dims(Xmum, 2) // NxDxM
smIvec = tf.matrix_solve(scalemat, vec) // NxDxM
q = tf.reduce_sum(smIvec * vec, [1]) // NxM
addvec = tf.matmul(smIvec, Xsigmc, transpose_a=True) + tf.expand_dims(Xmup, 1) // NxMxD
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: GPflow/GPflow
Commit Name: 20a3f495691b621165cc7fcce1bca917516edf9a
Time: 2017-02-03
Author: mrksr@users.noreply.github.com
File Name: GPflow/ekernels.py
Class Name: RBF
Method Name: exKxz
Project Name: rflamary/POT
Commit Name: e39f04a9465bd9f1447423eb2a592cc9356589a9
Time: 2018-07-05
Author: vivienseguy@h40.57.229.10.1016746.vlan.kuins.net
File Name: examples/plot_free_support_barycenter.py
Class Name:
Method Name:
Project Name: GPflow/GPflow
Commit Name: 20a3f495691b621165cc7fcce1bca917516edf9a
Time: 2017-02-03
Author: mrksr@users.noreply.github.com
File Name: GPflow/ekernels.py
Class Name: RBF
Method Name: eKxz