diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-10-03 10:26:41 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-03 10:31:44 -0700 |
commit | 0f9baa02a4e32b672b0cc29e99d5bfcf1329988c (patch) | |
tree | dc1c945c2a60d90b0b652c93cb92cc503fa617cf /tensorflow/python/kernel_tests | |
parent | a5b3cd8b4d28cfcdcb9adb3d3568b168b9b8a088 (diff) |
Re-enable the arithmetic optimizer by default in tests.
Add a warning to not disable optimizers without consulting with the Grappler team.
PiperOrigin-RevId: 215584369
Diffstat (limited to 'tensorflow/python/kernel_tests')
-rw-r--r-- | tensorflow/python/kernel_tests/distributions/laplace_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/kernel_tests/distributions/laplace_test.py b/tensorflow/python/kernel_tests/distributions/laplace_test.py index 630c2cb424..2610ba23b8 100644 --- a/tensorflow/python/kernel_tests/distributions/laplace_test.py +++ b/tensorflow/python/kernel_tests/distributions/laplace_test.py @@ -275,8 +275,8 @@ class LaplaceTest(test.TestCase): self.assertAllClose( sample_values.var(axis=0), stats.laplace.var(loc_bc, scale=scale_bc), - rtol=0.10, - atol=0.) + rtol=0.105, + atol=0.0) fails = 0 trials = 0 for ai, a in enumerate(np.reshape(loc_v, [-1])): |