3019dad78c94f08f626e03e9ec6a750cbe5d6682,testing/test_autoflow.py,,,#,28
Before 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):
After Change
mu1, var1 = self.m.predict_f(self.Xnew)
if __name__ == "__main__":
unittest.main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GPflow/GPflow
Commit Name: 3019dad78c94f08f626e03e9ec6a750cbe5d6682
Time: 2016-05-27
Author: james.hensman@gmail.com
File Name: testing/test_autoflow.py
Class Name:
Method Name:
Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_layers_normalization.py
Class Name:
Method Name:
Project Name: deepmind/sonnet
Commit Name: 7a8f633761ebd75eba8abd8da4eaffe99bb753a2
Time: 2018-07-17
Author: tomhennigan@google.com
File Name: sonnet/python/modules/basic_test.py
Class Name: AddBiasTest
Method Name: testComputation