Skip to content

Commit d4aed28

Browse files
committed
Updated comments
1 parent 7fa4d04 commit d4aed28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def test_modify_dropout(net, img_size):
8080

8181

8282
@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"""
83+
def test_modify_pool(net, img_size):
84+
"""Test ability to modify pooling module of network"""
8585

8686
class AdaptiveMaxAvgPool(nn.Module):
8787

@@ -104,4 +104,4 @@ def forward(self, x):
104104

105105
data = torch.zeros((2, 3, img_size, img_size))
106106
output = net(data)
107-
assert not torch.isnan(output).any()
107+
assert not torch.isnan(output).any()

0 commit comments

Comments
 (0)