From 9d17630338fb0cadd4bb347eb4993102cb77bb03 Mon Sep 17 00:00:00 2001 From: Srinivas Vasudevan Date: Mon, 14 Oct 2019 21:06:21 -0700 Subject: [PATCH] Lower tolerace of eigvalsh for float32/complex64 PiperOrigin-RevId: 274723451 --- tensorflow/python/ops/linalg/linear_operator_test_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/ops/linalg/linear_operator_test_util.py b/tensorflow/python/ops/linalg/linear_operator_test_util.py index 5eeae3ff50d..44a1dfde796 100644 --- a/tensorflow/python/ops/linalg/linear_operator_test_util.py +++ b/tensorflow/python/ops/linalg/linear_operator_test_util.py @@ -434,8 +434,8 @@ def _test_eigvalsh(use_placeholder, shapes_info, dtype): atol = self._atol[dtype] # pylint: disable=protected-access rtol = self._rtol[dtype] # pylint: disable=protected-access if dtype == dtypes.float32 or dtype == dtypes.complex64: - atol = 1e-5 - rtol = 1e-5 + atol = 1e-4 + rtol = 1e-4 self.assertAllClose(op_eigvals_v, mat_eigvals_v, atol=atol, rtol=rtol) return test_eigvalsh