未验证 提交 f759cf0f 编写于 作者: 姜永久 提交者: GitHub

fix adamax test (#51366)

上级 d9de3ef6
...@@ -27,6 +27,7 @@ def adamx_wrapper( ...@@ -27,6 +27,7 @@ def adamx_wrapper(
moment, moment,
inf_norm, inf_norm,
beta1_pow=None, beta1_pow=None,
master_weight=None,
beta1=0.78, beta1=0.78,
beta2=0.899, beta2=0.899,
epsilon=1e-5, epsilon=1e-5,
...@@ -38,13 +39,12 @@ def adamx_wrapper( ...@@ -38,13 +39,12 @@ def adamx_wrapper(
moment, moment,
inf_norm, inf_norm,
beta1_pow, beta1_pow,
master_weight,
beta1, beta1,
beta2, beta2,
epsilon, epsilon,
) )
import paddle
class TestAdamaxOp1(OpTest): class TestAdamaxOp1(OpTest):
def setUp(self): def setUp(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册