We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330a7d2 commit 8dbe5caCopy full SHA for 8dbe5ca
tests/link/pytorch/test_extra_ops.py
@@ -67,15 +67,11 @@ def test_pytorch_Unique_axis(axis):
67
compare_pytorch_and_py(fgraph, [test_value])
68
69
70
+@pytest.mark.parametrize("return_inverse", [False, True])
71
+@pytest.mark.parametrize("return_counts", [False, True])
72
@pytest.mark.parametrize(
- "return_index, return_inverse, return_counts",
- [
73
- (False, True, False),
74
- (False, True, True),
75
- pytest.param(
76
- True, False, False, marks=pytest.mark.xfail(raises=NotImplementedError)
77
- ),
78
- ],
+ "return_index",
+ (False, pytest.param(True, marks=pytest.mark.xfail(raises=NotImplementedError))),
79
)
80
def test_pytorch_Unique_params(return_index, return_inverse, return_counts):
81
a = pt.matrix("a", dtype="float64")
0 commit comments