fix grad all ci bug

This commit is contained in:
kpy 2020-08-26 18:28:35 +08:00
parent 13e9f5b86e
commit 44b738e8ac
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):