c293152f47e85f08154197ed98a63602a792b275,GPflow/kernels.py,Stationary,Kdiag,#Stationary#Any#,144

Before Change


        return tf.sqrt(r2 + 1e-12)

    def Kdiag(self, X):
        return tf.fill((tf.shape(X)[0],), self.variance)


class RBF(Stationary):

After Change


        return tf.sqrt(r2 + 1e-12)

    def Kdiag(self, X):
        return tf.fill(tf.pack([tf.shape(X)[0]]), self.variance)


class RBF(Stationary):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: GPflow/GPflow
Commit Name: c293152f47e85f08154197ed98a63602a792b275
Time: 2016-06-05
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: Stationary
Method Name: Kdiag


Project Name: GPflow/GPflow
Commit Name: c293152f47e85f08154197ed98a63602a792b275
Time: 2016-06-05
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: PeriodicKernel
Method Name: Kdiag


Project Name: GPflow/GPflow
Commit Name: c293152f47e85f08154197ed98a63602a792b275
Time: 2016-06-05
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: Static
Method Name: Kdiag


Project Name: GPflow/GPflow
Commit Name: c293152f47e85f08154197ed98a63602a792b275
Time: 2016-06-05
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: White
Method Name: K