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 18960aa commit da6d4e4Copy full SHA for da6d4e4
array_api_compat/cupy/fft.py
@@ -1,5 +1,12 @@
1
from cupy.fft import * # noqa: F403
2
-from cupy.fft import __all__ as fft_all
+# cupy.fft doesn't have __all__. If it is added, replace this with
3
+#
4
+# from cupy.fft import __all__ as linalg_all
5
+_n = {}
6
+exec('from cupy.fft import *', _n)
7
+del _n['__builtins__']
8
+fft_all = list(_n)
9
+del _n
10
11
from ..common import _fft
12
from .._internal import get_xp
0 commit comments