Skip to content

Commit

Permalink
fix (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-Dupont committed Oct 23, 2023
1 parent f153c61 commit 24798b0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,6 @@ def __init__(self, arch_params: HpmStruct):
self._modules_list.append(nn.Linear(1024, self.num_classes))

def forward(self, x):
return self._modules_list(x)
for module in self._modules_list:
x = module(x)
return x

0 comments on commit 24798b0

Please sign in to comment.