提交 d683b65b 编写于 作者: G GaoWei8 提交者: Tao Luo

Remove self-set accuracy parameters of op tests: atol (#21711)

* Remove self-set accuracy parameters of op tests:atol
test=develop

* keep smaller parameters
test=develop

* fix error
test=develop
上级 8b74fc4f
......@@ -60,7 +60,7 @@ class TestSoftmaxMKLDNNOp(TestSoftmaxOp):
# TODO(wangzhongpu): support mkldnn op in dygraph mode
if self.use_cudnn:
place = core.CUDAPlace(0)
self.check_output_with_place(place, atol=1e-5, check_dygraph=False)
self.check_output_with_place(place, check_dygraph=False)
else:
self.check_output(check_dygraph=False)
......
......@@ -146,7 +146,7 @@ class TestModulatedDeformableConvOp(OpTest):
self.outputs = {'Output': output}
def test_check_output(self):
self.check_output(atol=1e-5)
self.check_output()
def test_check_grad(self):
self.check_grad(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册