6b8a9a5f0e738d98904ff7c46c79a44bfdd56686,GPflow/kernels.py,White,K,#White#Any#Any#,61

Before Change


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


class Bias(Static):
    

After Change


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


class Constant(Static):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GPflow/GPflow
Commit Name: 6b8a9a5f0e738d98904ff7c46c79a44bfdd56686
Time: 2016-05-31
Author: alexggmatthews@googlemail.com
File Name: GPflow/kernels.py
Class Name: White
Method Name: K


Project Name: GPflow/GPflow
Commit Name: b1e4cb19afc4f7ac47187303d0c2045b68932c4e
Time: 2016-04-13
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: Bias
Method Name: K


Project Name: GPflow/GPflow
Commit Name: 6b8a9a5f0e738d98904ff7c46c79a44bfdd56686
Time: 2016-05-31
Author: alexggmatthews@googlemail.com
File Name: GPflow/kernels.py
Class Name: Bias
Method Name: K


Project Name: GPflow/GPflow
Commit Name: b1e4cb19afc4f7ac47187303d0c2045b68932c4e
Time: 2016-04-13
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: White
Method Name: K