Skip to content

Commit 6ec0f91

Browse files
committed
decrease atol
1 parent 446d54f commit 6ec0f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/tests/unittests/test_batch_norm_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def check_with_place(self, place, data_layout, dtype, shape):
272272
"inference output are different at " + str(place) + ", " +
273273
data_layout + ", " + str(np.dtype(dtype)) +
274274
str(np.array(y_tensor)) + str(y_out),
275-
atol=2e-2)
275+
atol=1e-3)
276276

277277
def test_check_output(self):
278278
places = [core.CPUPlace()]

0 commit comments

Comments
 (0)