mirror of https://github.com/Jittor/Jittor
fix
This commit is contained in:
parent
0053692a00
commit
725c9d3544
|
@ -603,7 +603,7 @@ class Sequential(Module):
|
|||
parents.pop()
|
||||
if callback_leave:
|
||||
callback_leave(parents, k, self, n_children)
|
||||
def append(mod):
|
||||
def append(self, mod):
|
||||
self.layers.append(mod)
|
||||
|
||||
ModuleList = Sequential
|
||||
|
|
Loading…
Reference in New Issue