Skip to content

Commit 7fa4d04

Browse files
committed
Removed reshape in
1 parent f938df2 commit 7fa4d04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def forward(self, x):
9494
avg_x = self.ada_avgpool(x)
9595
max_x = self.ada_maxpool(x)
9696
x = torch.cat((avg_x, max_x), dim=1)
97-
x = x.view(x.size(0), -1)
9897
return x
9998

10099
avg_pooling = AdaptiveMaxAvgPool()

0 commit comments

Comments
 (0)