提交 b9a63547 编写于 作者: D Double_V 提交者: qingqing01

Solve elu unitest fail (#22123)

* set esp as 1e-6 to solve elu unitest fail,test=develop
上级 418abc92
...@@ -79,7 +79,7 @@ class TestELUDoubleGradCheck(unittest.TestCase): ...@@ -79,7 +79,7 @@ class TestELUDoubleGradCheck(unittest.TestCase):
@prog_scope() @prog_scope()
def func(self, place): def func(self, place):
shape = [2, 3, 7, 9] shape = [2, 3, 7, 9]
eps = 0.0001 eps = 1e-6
alpha = 1.1 alpha = 1.1
dtype = np.float64 dtype = np.float64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册