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 7fa4d04 commit d4aed28Copy full SHA for d4aed28
tests/test_model.py
@@ -80,8 +80,8 @@ def test_modify_dropout(net, img_size):
80
81
82
@pytest.mark.parametrize('img_size', [224, 256, 512])
83
-def test_modify_norm(net, img_size):
84
- """Test ability to modify norm layer of network"""
+def test_modify_pool(net, img_size):
+ """Test ability to modify pooling module of network"""
85
86
class AdaptiveMaxAvgPool(nn.Module):
87
@@ -104,4 +104,4 @@ def forward(self, x):
104
105
data = torch.zeros((2, 3, img_size, img_size))
106
output = net(data)
107
- assert not torch.isnan(output).any()
+ assert not torch.isnan(output).any()
0 commit comments