提交 55edfca2 编写于 作者: Q Qiao Longfei

revert unused change

上级 fec0b192
...@@ -292,8 +292,6 @@ class Optimizer(object): ...@@ -292,8 +292,6 @@ class Optimizer(object):
This method combines interface `append_backward()` and This method combines interface `append_backward()` and
`create_optimization_pass()` into one. `create_optimization_pass()` into one.
""" """
with program_guard(loss.block.program, startup_program):
params_grads = append_backward(loss, parameter_list, no_grad_set, params_grads = append_backward(loss, parameter_list, no_grad_set,
[error_clip_callback]) [error_clip_callback])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册