Skip to content

Commit

Permalink
fix (#1564)
Browse files Browse the repository at this point in the history
(cherry picked from commit 24798b0)
  • Loading branch information
Louis-Dupont authored and BloodAxe committed Oct 26, 2023
1 parent 5879c46 commit d2d9c18
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 d2d9c18

Please sign in to comment.