Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
khornlund committed Sep 3, 2019
1 parent 7fa4d04 commit d4aed28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def test_modify_dropout(net, img_size):


@pytest.mark.parametrize('img_size', [224, 256, 512])
def test_modify_norm(net, img_size):
"""Test ability to modify norm layer of network"""
def test_modify_pool(net, img_size):
"""Test ability to modify pooling module of network"""

class AdaptiveMaxAvgPool(nn.Module):

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

data = torch.zeros((2, 3, img_size, img_size))
output = net(data)
assert not torch.isnan(output).any()
assert not torch.isnan(output).any()

0 comments on commit d4aed28

Please sign in to comment.