We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a0d975 commit b7065deCopy full SHA for b7065de
array_api_tests/stubs.py
@@ -55,7 +55,9 @@
55
all_funcs.extend(funcs)
56
name_to_func: Dict[str, FunctionType] = {f.__name__: f for f in all_funcs}
57
58
-EXTENSIONS: List[str] = ["linalg"] # TODO: add "fft" once stubs available
+EXTENSIONS: List[str] = ["linalg"]
59
+if api_version >= "2022.12":
60
+ EXTENSIONS.append("fft")
61
extension_to_funcs: Dict[str, List[FunctionType]] = {}
62
for ext in EXTENSIONS:
63
mod = name_to_mod[ext]
0 commit comments