diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-03-14 20:18:32 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-03-14 21:37:31 -0700 |
commit | 173d1b32ce54874e85400e2d5007b1c3380bdb14 (patch) | |
tree | 139423213892c37b9c32ef167a7614f4e09bdce0 | |
parent | 1ca849c38b3775c6ca81930f8d8d1f270b257aba (diff) |
Increase tolerance for float32 and float16 matmul tests to get rid of flakes.
Change: 150152132
-rw-r--r-- | tensorflow/python/kernel_tests/matmul_op_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/python/kernel_tests/matmul_op_test.py b/tensorflow/python/kernel_tests/matmul_op_test.py index 03654294d0..042f462357 100644 --- a/tensorflow/python/kernel_tests/matmul_op_test.py +++ b/tensorflow/python/kernel_tests/matmul_op_test.py @@ -84,10 +84,10 @@ def _GetMatMulTest(a_np_, b_np_, use_static_shape_, **kwargs_): self.assertAllCloseAccordingToType( tf_val, np_val, - float_rtol=1e-5, - float_atol=1e-5, - half_rtol=0.1, - half_atol=0.1) + float_rtol=2e-5, + float_atol=2e-5, + half_rtol=0.2, + half_atol=0.2) return Test |