diff options
author | 2016-05-23 11:39:39 -0800 | |
---|---|---|
committer | 2016-05-23 12:42:36 -0700 | |
commit | 892ca4ddc12852a7b4633fd08f163941356cb4e6 (patch) | |
tree | be913f46bb9323685c5a807a89fca6dc52a25504 /tensorflow/python/kernel_tests/xent_op_test.py | |
parent | 76d90938f95a14a5723c253ec8529e93939a25e2 (diff) |
Merge changes from github.
Change: 123026122
Diffstat (limited to 'tensorflow/python/kernel_tests/xent_op_test.py')
-rw-r--r-- | tensorflow/python/kernel_tests/xent_op_test.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/python/kernel_tests/xent_op_test.py b/tensorflow/python/kernel_tests/xent_op_test.py index b2cad3ee05..6ea8ae3280 100644 --- a/tensorflow/python/kernel_tests/xent_op_test.py +++ b/tensorflow/python/kernel_tests/xent_op_test.py @@ -130,10 +130,9 @@ class XentTest(tf.test.TestCase): np.array([[0., 0., 0., 1.], [0., .5, .5, 0.]]).astype(np.float32)) def testDouble(self): - self._testXent( + self._testAll( np.array([[1., 1., 1., 1.], [1., 2., 3., 4.]]).astype(np.float64), - np.array([[0., 0., 0., 1.], [0., .5, .5, 0.]]).astype(np.float64), - use_gpu=False) + np.array([[0., 0., 0., 1.], [0., .5, .5, 0.]]).astype(np.float64)) def testGradient(self): with self.test_session(): |