__array_namespace_info__¶
- __array_namespace_info__() Info ¶
Returns a namespace with Array API namespace inspection utilities.
See Inspection for a list of inspection APIs.
- Returns:
out (Info) – An object containing Array API namespace inspection utilities.
Notes
The returned object may be either a namespace or a class, so long as an Array API user can access inspection utilities as follows:
info = xp.__array_namespace_info__() info.capabilities() info.devices() info.dtypes() info.default_dtypes() # ...