From 6ec0f91273f097b4efaccc3e54e86c0a74c4173d Mon Sep 17 00:00:00 2001 From: Kexin Zhao Date: Sun, 18 Mar 2018 20:40:53 -0700 Subject: [PATCH] decrease atol --- python/paddle/fluid/tests/unittests/test_batch_norm_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/test_batch_norm_op.py b/python/paddle/fluid/tests/unittests/test_batch_norm_op.py index 261c457708..10aa63e18a 100644 --- a/python/paddle/fluid/tests/unittests/test_batch_norm_op.py +++ b/python/paddle/fluid/tests/unittests/test_batch_norm_op.py @@ -272,7 +272,7 @@ class TestBatchNormOpInference(OpTest): "inference output are different at " + str(place) + ", " + data_layout + ", " + str(np.dtype(dtype)) + str(np.array(y_tensor)) + str(y_out), - atol=2e-2) + atol=1e-3) def test_check_output(self): places = [core.CPUPlace()]