mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-10 21:37:50 +08:00
throw for invalid case and remove test (#1575)
This commit is contained in:
@@ -71,6 +71,8 @@ class TestFFT(mlx_tests.MLXTestCase):
|
||||
]
|
||||
|
||||
for op, ax, s in itertools.product(ops, axes, shapes):
|
||||
if ax is None and s is not None:
|
||||
continue
|
||||
x = a
|
||||
if op in ["rfft2", "rfftn"]:
|
||||
x = r
|
||||
|
Reference in New Issue
Block a user