41fa0902ddf895045b0a109852d9b2f724e1d808,GPflow/kernels.py,Bias,K,#Bias#Any#Any#,58

Before Change


        if X2 is None:
            return self.variance * tf.ones((X.shape[0], X.shape[0]), tf.float64)
        else:
            return self.variance * tf.ones((X.shape[0], X2.shape[0]), tf.float64)


class Stationary(Kern):

After Change


        if X2 is None:
            return self.variance * tf.ones(tf.pack([tf.shape(X)[0], tf.shape(X)[0]]), tf.float64)
        else:
            return self.variance * tf.ones(tf.pack([tf.shape(X)[0], tf.shape(X2)[0]]), tf.float64)


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

Frequency: 3

Non-data size: 8

Instances


Project Name: GPflow/GPflow
Commit Name: 41fa0902ddf895045b0a109852d9b2f724e1d808
Time: 2016-01-14
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: Bias
Method Name: K


Project Name: GPflow/GPflow
Commit Name: 41fa0902ddf895045b0a109852d9b2f724e1d808
Time: 2016-01-14
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: White
Method Name: K


Project Name: GPflow/GPflow
Commit Name: 6a455db8f33ceefa0f8c544dc427ba6402f85588
Time: 2020-01-07
Author: st--@users.noreply.github.com
File Name: gpflow/kernels/statics.py
Class Name: Constant
Method Name: K


Project Name: GPflow/GPflow
Commit Name: 41fa0902ddf895045b0a109852d9b2f724e1d808
Time: 2016-01-14
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: Bias
Method Name: K