Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.03 KB

inspection.rst

File metadata and controls

40 lines (26 loc) · 1.03 KB

Inspection

Array API specification for namespace inspection utilities.

A conforming implementation of the array API standard must provide and support the following functions and associated inspection APIs.

Objects in API

.. currentmodule:: array_api.info

.. autosummary::
   :toctree: generated
   :template: method.rst

   __array_namespace_info__


Inspection APIs

In the namespace (or class) returned by __array_namespace__info__, a conforming implementation of the array API standard must provide and support the following functions (or methods) for programmatically querying data type and device support, capabilities, and other specification-defined implementation-specific behavior, as documented in the functions described below.

.. autosummary::
   :toctree: generated
   :template: method.rst

   capabilities
   default_device
   default_dtypes
   devices
   dtypes