From 32ffdc2b548a0e92c252d1243073fc5ba425ff07 Mon Sep 17 00:00:00 2001 From: Netpunk <2327994230@qq.com> Date: Tue, 18 Apr 2023 14:35:48 +0800 Subject: [PATCH] atol alignment --- python/paddle/fluid/tests/unittests/test_maxout_op.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/paddle/fluid/tests/unittests/test_maxout_op.py b/python/paddle/fluid/tests/unittests/test_maxout_op.py index e8de7bc2589e5..f65e1f0e04901 100644 --- a/python/paddle/fluid/tests/unittests/test_maxout_op.py +++ b/python/paddle/fluid/tests/unittests/test_maxout_op.py @@ -150,8 +150,7 @@ def test_check_output(self): def test_check_grad(self): place = core.CUDAPlace(0) self.check_grad_with_place( - place, ['X'], 'Out', max_relative_error=0.001 - ) + place, ['X'], 'Out') class TestMaxoutFP16Case1(TestMaxOutOpFP16):