cc5e7d00a6696a8cf6e40686455e7e034fbf26ff,testing/test_kerns.py,TestAdd,test_sym,#TestAdd#,295
Before Change
X_data = self.rng.randn(10, 1)
for k in [self.rbf, self.lin, self.k]:
with k.tf_mode():
k._K = sess.run(
k.K(X),
feed_dict={x_free: k.get_free_state(), X: X_data})
self.assertTrue(np.allclose(self.rbf._K + self.lin._K, self.k._K))
def test_asym(self):
with self.test_context() as sess:
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)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
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: 49a385eae93032125a6718433b3ca1753aee3b1e
Time: 2017-11-02
Author: art.art.v@gmail.com
File Name: testing/test_method_equivalence.py
Class Name: TestEquivalence
Method Name: test_all
Project Name: GPflow/GPflow
Commit Name: 30a5671297517875caacbf6bd03ae1de0d94ec67
Time: 2017-11-01
Author: art.art.v@gmail.com
File Name: testing/test_mean_functions.py
Class Name: TestSwitchedMeanFunction
Method Name: test
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: d6883d26b557cbeeaceba38643bf5b98819fbed3
Time: 2017-09-26
Author: art.art.v@gmail.com
File Name: testing/test_model.py
Class Name: TestKeyboardCatching
Method Name: test_optimize_np