提交 7353b073 编写于 作者: T Tingquan Gao

Revert "debug"

This reverts commit a41b201e.
上级 8002ccf4
......@@ -94,7 +94,7 @@ class CombinedLoss(nn.Layer):
loss_dict["loss"] = paddle.add_n(list(loss_dict.values()))
if self.scaler:
self.scaler.scale(loss_dict["loss"])
self.scaler(loss_dict["loss"])
return loss_dict
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册