提交 28013a50 编写于 作者: M minqiyang

Polish code

test=develop
上级 d4b9928c
......@@ -315,7 +315,7 @@ class Optimizer(object):
block=loss.block,
name=param._ivar._grad_name(),
stop_gradient=True)
grad_var._value = param._ivar._grad_var()
grad_var._value = param._ivar.grad_value()
params_grads.append((param, grad_var))
optimize_ops = self._create_optimization_pass(params_grads, loss,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册