提交 c0e02bd8 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!5262 fix grad all ci bug

Merge pull request !5262 from flywind/fix_grad_all
......@@ -277,7 +277,7 @@ class AssignWhenInsertGrad(nn.Cell):
out = self.getG(out)
return out
grad_all = C.GradOperation('get_all', get_all=True)
grad_all = C.GradOperation(get_all=True)
class GradNet(nn.Cell):
def __init__(self, net):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册