e315772007b2353eeca5565ed5b450fa48e82f2d,testing/test_autoflow.py,,,#,85

Before Change


        mu1, var1 = self.m.predict_f(self.Xnew)


if __name__ == "__main__":
    unittest.main()

After Change


        self.failUnless(np.allclose(self.m.function(), 3.))


x_tf = tf.placeholder(tf.float64)
y_tf = tf.placeholder(tf.float64)
class AddModel(DumbModel):
    @GPflow.model.AutoFlow(x_tf, y_tf)
    def add(self, x, y):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GPflow/GPflow
Commit Name: e315772007b2353eeca5565ed5b450fa48e82f2d
Time: 2016-05-31
Author: james.hensman@gmail.com
File Name: testing/test_autoflow.py
Class Name:
Method Name:


Project Name: GPflow/GPflow
Commit Name: cc5e7d00a6696a8cf6e40686455e7e034fbf26ff
Time: 2017-09-28
Author: art.art.v@gmail.com
File Name: testing/test_kerns.py
Class Name: TestAdd
Method Name: test_sym


Project Name: keras-team/keras
Commit Name: b6d23b2e2dfc90480519ab52047006b1936fda02
Time: 2016-07-28
Author: jer.despraz@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: batch_set_value