提交 7c767a44 编写于 作者: M minqiyang

Polish code

test=develop
上级 b1448ded
......@@ -6689,6 +6689,7 @@ def clip_by_norm(x, max_norm, name=None):
out = helper.create_variable(
name=name, dtype=x.dtype, persistable=False)
# max_norm should always be set
helper.append_op(
type="clip_by_norm",
inputs={"X": x},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册