!5262 fix grad all ci bug

Merge pull request !5262 from flywind/fix_grad_all
This commit is contained in:
mindspore-ci-bot 2020-08-26 20:09:59 +08:00 committed by Gitee
commit c0e02bd88b
1 changed files with 1 additions and 1 deletions

View File

@ -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):