method
Return a dictionary of array API library capabilities.
The resulting dictionary has the following keys:
True for NumPy.True for NumPy.See https://data-apis.org/array-api/latest/API_specification/generated/array_api.info.capabilities.html for more details.
A dictionary of array API library capabilities.
See also
>>> info = np.__array_namespace_info__()
>>> info.capabilities()
{'boolean indexing': True,
'data-dependent shapes': True,
'max dimensions': 64}
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.__array_namespace_info__.capabilities.html