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.
2 parents 418308a + a89aade commit 5a50f68Copy full SHA for 5a50f68
tools/accuracy_checker/data/test_models/pytorch_model/samplenet.py
@@ -31,7 +31,7 @@ def __init__(self):
31
def forward(self, x):
32
x = self.pool(F.relu(self.conv1(x)))
33
x = self.pool(F.relu(self.conv2(x)))
34
- x = x.view(-1, 16 * 5 * 5)
+ x = x.flatten(start_dim=1)
35
x = F.relu(self.fc1(x))
36
x = F.relu(self.fc2(x))
37
x = self.fc3(x)
0 commit comments