未验证 提交 0e6462d6 编写于 作者: S sneaxiy 提交者: GitHub

fix update loss scaling (#43487)

上级 d83d59dd
...@@ -107,7 +107,7 @@ class UpdateLossScalingOpMaker : public framework::OpProtoAndCheckerMaker { ...@@ -107,7 +107,7 @@ class UpdateLossScalingOpMaker : public framework::OpProtoAndCheckerMaker {
AddOutput("LossScaling", "(Tensor) 1-dim tensor, updated loss scaling."); AddOutput("LossScaling", "(Tensor) 1-dim tensor, updated loss scaling.");
AddOutput("OutGoodSteps", "(Tensor) 1-dim tensor, pdated good steps."); AddOutput("OutGoodSteps", "(Tensor) 1-dim tensor, pdated good steps.");
AddOutput("OutBadSteps", "(Tensor) 1-dim tensor, updated bad steps."); AddOutput("OutBadSteps", "(Tensor) 1-dim tensor, updated bad steps.");
AddOutput("StopUpdate", AddInput("StopUpdate",
"(Tensor) 1-dim tensor. Stop updating loss scaling, and just " "(Tensor) 1-dim tensor. Stop updating loss scaling, and just "
"zero inputs. It has higher priority than Attr(stop_update).") "zero inputs. It has higher priority than Attr(stop_update).")
.AsDispensable(); .AsDispensable();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册