mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-02 17:46:42 +00:00
pipeline last stage supports multi output (#151)
This commit is contained in:
@@ -139,7 +139,7 @@ class VanillaResNet(ModelFromConfig):
|
||||
def forward(self, x: Tensor):
|
||||
for layer in self.layers:
|
||||
x = layer(x)
|
||||
return x,
|
||||
return x
|
||||
|
||||
def init_weights(self):
|
||||
for m in self.modules():
|
||||
|
Reference in New Issue
Block a user