未验证 提交 5e07db15 编写于 作者: G gongweibao 提交者: GitHub

fix init scaling value test=develop (#22145)

上级 cf475f95
......@@ -217,7 +217,7 @@ class OptimizerWithMixedPrecision(object):
def decorate(optimizer,
amp_lists=None,
init_loss_scaling=1.0,
init_loss_scaling=2**15,
incr_every_n_steps=1000,
decr_every_n_nan_or_inf=2,
incr_ratio=2.0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册