Browse Source

fix grad all ci bug

tags/v1.0.0
kpy 5 years ago
parent
commit
44b738e8ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/python/pipeline/parse/test_parse.py

+ 1
- 1
tests/ut/python/pipeline/parse/test_parse.py View File

@@ -277,7 +277,7 @@ class AssignWhenInsertGrad(nn.Cell):
out = self.getG(out) out = self.getG(out)
return out return out


grad_all = C.GradOperation('get_all', get_all=True)
grad_all = C.GradOperation(get_all=True)


class GradNet(nn.Cell): class GradNet(nn.Cell):
def __init__(self, net): def __init__(self, net):


Loading…
Cancel
Save