10000 BUG: Missing array-api ``capabilities()`` key · sthagen/numpy-numpy@61512bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 61512bc

Browse files
committed
BUG: Missing array-api capabilities() key
1 parent 031f442 commit 61512bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numpy/_array_api_info.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ def capabilities(self):
9494
>>> info = np.__array_namespace_info__()
9595
>>> info.capabilities()
9696
{'boolean indexing': True,
97-
'data-dependent shapes': True}
97+
'data-dependent shapes': True,
98+
'max dimensions': 64}
9899
99100
"""
100101
return {
101102
"boolean indexing": True,
102103
"data-dependent shapes": True,
103-
# 'max rank' will be part of the 2024.12 standard
104-
# "max rank": 64,
104+
"max dimensions": 64,
105105
}
106106

107107
def default_device(self):

0 commit comments

Comments
 (0)
0