提交 e4bc247c 编写于 作者: M minqiyang

Polish code

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