Skip to content

Commit 3f9ef59

Browse files
fix: squeeze (#33)
* fix: squeeze * chore: bump version * Downgrade version from 1.0.2 to 1.0.1 --------- Co-authored-by: Jannis Born <jannis.born@gmx.de>
1 parent f3b847c commit 3f9ef59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paccmann_predictor/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Squeeze(nn.Module):
4848
"""Squeeze wrapper for nn.Sequential."""
4949

5050
def forward(self, data):
51-
return torch.squeeze(data)
51+
return torch.squeeze(data, -1)
5252

5353

5454
class Unsqueeze(nn.Module):

0 commit comments

Comments
 (0)