Skip to content

Commit ba24874

Browse files
tests/ops: restore missing x parametrize for test_batchnorm
Accidentally dropped when TestAtan2 was inserted at the same location.
1 parent 4b9c442 commit ba24874

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/ops/test_ops.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,13 @@ async def test_broadcast_shapes(self) -> None:
653653
await validate_numerical_output(model=model, y=y, x=x)
654654

655655

656+
@pytest.mark.parametrize(
657+
"x",
658+
[
659+
torch.rand(2, 3, 8, 8),
660+
torch.rand(2, 3, 8, 8, dtype=torch.float16), # fp16
661+
],
662+
)
656663
@pytest.mark.parametrize(
657664
"dynamic_dims", [tuple(), (0,), (2,), (3,), (0, 2), (0, 3), (0, 2, 3)]
658665
)

0 commit comments

Comments
 (0)