Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,9 @@ def test_frozenbatchnorm2d_repr(self):
expected_string = f"FrozenBatchNorm2d({num_features}, eps={eps})"
assert repr(t) == expected_string

def test_frozenbatchnorm2d_eps(self):
@pytest.mark.parametrize("seed", range(10))
def test_frozenbatchnorm2d_eps(self, seed):
torch.random.manual_seed(seed)
sample_size = (4, 32, 28, 28)
x = torch.rand(sample_size)
state_dict = dict(
Expand Down