未验证 提交 c8e7d108 编写于 作者: H helinwang 提交者: GitHub

Merge pull request #7686 from peterzhang2029/scale_fix

Fix the description of default scale attribute for scale op.
...@@ -48,7 +48,7 @@ Scale operator ...@@ -48,7 +48,7 @@ Scale operator
$$Out = scale*X$$ $$Out = scale*X$$
)DOC"); )DOC");
AddAttr<AttrType>("scale", AddAttr<AttrType>("scale",
"(float, default 0)" "(float, default 1.0)"
"The scaling factor of the scale operator.") "The scaling factor of the scale operator.")
.SetDefault(1.0); .SetDefault(1.0);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册