Skip to content

Commit 420c0da

Browse files
committed
Add __array_api_version__
1 parent ed5705f commit 420c0da

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

array_api_compat/cupy/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@
1818
from .linalg import matrix_transpose, vecdot
1919

2020
from ..common._helpers import *
21+
22+
__array_api_version__ = '2021.12'

array_api_compat/numpy/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@
1818
from .linalg import matrix_transpose, vecdot
1919

2020
from ..common._helpers import *
21+
22+
__array_api_version__ = '2021.12'

0 commit comments

Comments
 (0)