未验证 提交 29d5937a 编写于 作者: C ceci3 提交者: GitHub

fix batch_norm doublegrad, test=develop (#27703)

上级 42d17538
...@@ -135,7 +135,7 @@ class TestBatchNormDoubleGradCheckCase5(TestBatchNormDoubleGradCheck): ...@@ -135,7 +135,7 @@ class TestBatchNormDoubleGradCheckCase5(TestBatchNormDoubleGradCheck):
def func(self, place): def func(self, place):
prog = fluid.Program() prog = fluid.Program()
with fluid.program_guard(prog): with fluid.program_guard(prog):
np.random.seed() np.random.seed(37)
dtype = "float32" dtype = "float32"
eps = 0.005 eps = 0.005
atol = 2e-4 atol = 2e-4
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册