Skip to content

Commit 37634ab

Browse files
committed
ENH: add "max dimensions" key to capabilities
1 parent 45d302a commit 37634ab

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

array_api_compat/cupy/_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def capabilities(self):
101101
"boolean indexing": True,
102102
"data-dependent shapes": True,
103103
# '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):

array_api_compat/dask/array/_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def capabilities(self):
102102
"boolean indexing": False,
103103
"data-dependent shapes": False,
104104
# 'max rank' will be part of the 2024.12 standard
105-
# "max rank": 64,
105+
"max dimensions": 64,
106106
}
107107

108108
def default_device(self):

array_api_compat/numpy/_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def capabilities(self):
101101
"boolean indexing": True,
102102
"data-dependent shapes": True,
103103
# '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):

array_api_compat/torch/_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def capabilities(self):
8686
"boolean indexing": True,
8787
"data-dependent shapes": True,
8888
# 'max rank' will be part of the 2024.12 standard
89-
# "max rank": 64,
89+
"max dimensions": 64,
9090
}
9191

9292
def default_device(self):

0 commit comments

Comments
 (0)