提交 88a72b67 编写于 作者: W weishengyu

dbg

上级 2cb3bf66
......@@ -94,7 +94,7 @@ class WrapLayer(TheseusLayer):
return self.name
def forward(self, *inputs, **kwargs):
self.sub_layer(*inputs, **kwargs)
return self.sub_layer(*inputs, **kwargs)
def update_res(self, return_patterns):
if not return_patterns or not isinstance(self.sub_layer, (nn.Sequential, nn.LayerList)):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册