aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/training/adadelta_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/training/adadelta_test.py')
-rw-r--r--tensorflow/python/training/adadelta_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/python/training/adadelta_test.py b/tensorflow/python/training/adadelta_test.py
index 9233b21491..717310f042 100644
--- a/tensorflow/python/training/adadelta_test.py
+++ b/tensorflow/python/training/adadelta_test.py
@@ -91,18 +91,18 @@ class AdadeltaOptimizerTest(tf.test.TestCase):
for slot_idx in range(2):
self.assertAllCloseAccordingToType(
np.array([accum, accum], dtype=dtype.as_numpy_dtype()),
- slot[slot_idx].eval(), rtol=1e-2, atol=1e-2)
+ slot[slot_idx].eval(), rtol=1e-3)
self.assertAllCloseAccordingToType(
np.array([accum_update, accum_update],
dtype=dtype.as_numpy_dtype()),
- slot_update[slot_idx].eval())
+ slot_update[slot_idx].eval(), rtol=1e-3)
# Check that the parameters have been updated
self.assertAllCloseAccordingToType(
np.array([var0_init[0] - tot_update,
var0_init[1] - tot_update], dtype=dtype.as_numpy_dtype()),
- var0.eval(), rtol=1e-2)
+ var0.eval(), rtol=1e-3)
self.assertAllCloseAccordingToType(
np.array([var1_init[0] - tot_update,