提交 012db972 编写于 作者: W whs 提交者: GitHub

Merge pull request #4103 from wanghaoshuang/pad_op

Fix unitest of pad_op
...@@ -22,7 +22,7 @@ class TestPadOp(OpTest): ...@@ -22,7 +22,7 @@ class TestPadOp(OpTest):
self.check_output() self.check_output()
def test_check_grad_normal(self): def test_check_grad_normal(self):
self.check_grad(['X'], 'Out') self.check_grad(['X'], 'Out', max_relative_error=0.006)
def initTestCase(self): def initTestCase(self):
self.shape = (16, 16) self.shape = (16, 16)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册