cc5e7d00a6696a8cf6e40686455e7e034fbf26ff,testing/test_kerns.py,TestAdd,test_sym,#TestAdd#,295

Before Change



    def test_sym(self):
        with self.test_context() as sess:
            x_free = tf.placeholder("float64")
            [k.make_tf_array(x_free) for k in (self.rbf, self.lin, self.k)]
            X = tf.placeholder("float64")
            X_data = self.rng.randn(10, 1)
            for k in [self.rbf, self.lin, self.k]:

After Change


            for k in self.kernels:
                k.compile()
                res.append(k.session.run(k.K(X), feed_dict={X: X_data}))
            self.assertTrue(np.allclose(res[0] + res[1], res[2]))

    def test_asym(self):
        with self.test_context():
            X = tf.placeholder(tf.float64)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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: 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_asym


Project Name: GPflow/GPflow
Commit Name: 193608aed0bec118ce431f8febfe3807ccd16090
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_variational.py
Class Name: VariationalUnivariateTest
Method Name: testUnivariateConditionals