From 4673c67dcd851f27386b751b04a25c76e5ba4072 Mon Sep 17 00:00:00 2001 From: lingzhi98 <103185827+lingzhi98@users.noreply.github.com> Date: Wed, 6 Sep 2023 13:15:32 +0800 Subject: [PATCH] [Fix] Set higher err tolerance for conv3d backprop filter unit test (#2388) --- .../python/kernel_tests/conv3d_backprop_filter_v2_grad_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tensorflow/python/kernel_tests/conv3d_backprop_filter_v2_grad_test.py b/test/tensorflow/python/kernel_tests/conv3d_backprop_filter_v2_grad_test.py index 0d44f6601..5218c50c9 100644 --- a/test/tensorflow/python/kernel_tests/conv3d_backprop_filter_v2_grad_test.py +++ b/test/tensorflow/python/kernel_tests/conv3d_backprop_filter_v2_grad_test.py @@ -64,7 +64,7 @@ def testGradient(self): [in_val, out_backprop_val], [in_shape, out_backprop_shape], output, filter_shape) print("conv3d_backprop_filter gradient err = %g " % err) - err_tolerance = 1e-3 + err_tolerance = 2e-3 self.assertLess(err, err_tolerance) if __name__ == "__main__":