Skip to content

Commit

Permalink
delete self.paper attribute from mambatab
Browse files Browse the repository at this point in the history
  • Loading branch information
AnFreTh committed Jul 17, 2024
1 parent 96e9449 commit 864d4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mambular/base_models/mambatab.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def forward(self, num_features, cat_features):

x = self.norm_f(x)
x = self.embedding_activation(x)
if self.paper:
if self.axis == 1:
x = x.squeeze(1)
else:
x = x.squeeze(0)
Expand Down

0 comments on commit 864d4f0

Please sign in to comment.