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 c9a4c09 commit 467e479Copy full SHA for 467e479
test/test_ops.py
@@ -845,7 +845,9 @@ def test_frozenbatchnorm2d_repr(self):
845
expected_string = f"FrozenBatchNorm2d({num_features}, eps={eps})"
846
assert repr(t) == expected_string
847
848
- def test_frozenbatchnorm2d_eps(self):
+ @pytest.mark.parametrize("seed", range(10))
849
+ def test_frozenbatchnorm2d_eps(self, seed):
850
+ torch.random.manual_seed(seed)
851
sample_size = (4, 32, 28, 28)
852
x = torch.rand(sample_size)
853
state_dict = dict(
0 commit comments