From a3a3558dd026259465577e8f52ba638917e09a6d Mon Sep 17 00:00:00 2001 From: GaoWei8 <53294385+GaoWei8@users.noreply.github.com> Date: Thu, 19 Dec 2019 10:41:18 +0800 Subject: [PATCH] Remove self-set accuracy parameters of op tests: max_relative_error (#21817) test=develop --- python/paddle/fluid/tests/unittests/test_seq_conv.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/paddle/fluid/tests/unittests/test_seq_conv.py b/python/paddle/fluid/tests/unittests/test_seq_conv.py index 9f0115034d9..84db84977b1 100644 --- a/python/paddle/fluid/tests/unittests/test_seq_conv.py +++ b/python/paddle/fluid/tests/unittests/test_seq_conv.py @@ -135,10 +135,7 @@ class TestSeqProject(OpTest): def test_check_grad_padding_data(self): if self.padding_trainable: self.check_grad( - ['PaddingData'], - 'Out', - max_relative_error=0.05, - no_grad_set=set(['X', 'Filter'])) + ['PaddingData'], 'Out', no_grad_set=set(['X', 'Filter'])) def test_check_grad_Filter(self): self.check_grad( -- GitLab