We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f938df2 commit 7fa4d04Copy full SHA for 7fa4d04
tests/test_model.py
@@ -94,7 +94,6 @@ def forward(self, x):
94
avg_x = self.ada_avgpool(x)
95
max_x = self.ada_maxpool(x)
96
x = torch.cat((avg_x, max_x), dim=1)
97
- x = x.view(x.size(0), -1)
98
return x
99
100
avg_pooling = AdaptiveMaxAvgPool()
0 commit comments