Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated imports from the test layers in numpy.fft #22786

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import ivy_tests.test_ivy.helpers as helpers
from ivy_tests.test_ivy.helpers import handle_frontend_test
from ivy_tests.test_ivy.test_functional.test_experimental.test_nn.test_layers import (
x_and_ifft,
x_and_rfftn,
_x_and_ifft,
_x_and_rfftn,
)


Expand Down Expand Up @@ -90,7 +90,7 @@ def test_numpy_fftshift(

@handle_frontend_test(
fn_tree="numpy.fft.ifft",
dtype_and_x=x_and_ifft(),
dtype_and_x=_x_and_ifft(),
)
def test_numpy_ifft(dtype_and_x, backend_fw, frontend, test_flags, fn_tree, on_device):
input_dtype, x, dim, norm, n = dtype_and_x
Expand All @@ -111,7 +111,7 @@ def test_numpy_ifft(dtype_and_x, backend_fw, frontend, test_flags, fn_tree, on_d

@handle_frontend_test(
fn_tree="numpy.fft.ifftn",
dtype_and_x=x_and_ifft(),
dtype_and_x=_x_and_ifft(),
)
def test_numpy_ifftn(dtype_and_x, backend_fw, frontend, test_flags, fn_tree, on_device):
input_dtype, x, dim, norm, n = dtype_and_x
Expand Down Expand Up @@ -237,7 +237,7 @@ def test_numpy_rfftfreq(

@handle_frontend_test(
fn_tree="numpy.fft.rfftn",
dtype_and_x=x_and_rfftn(),
dtype_and_x=_x_and_rfftn(),
)
def test_numpy_rfftn(dtype_and_x, frontend, backend_fw, test_flags, fn_tree, on_device):
dtype, x, s, axes, norm = dtype_and_x
Expand Down