forked from huawei/mindspore2022
fix grad all ci bug
This commit is contained in:
parent
13e9f5b86e
commit
44b738e8ac
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue