Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 748 Bytes

sparse_interchange.rst

File metadata and controls

39 lines (25 loc) · 748 Bytes

Sparse interchange

Array API specification for sparse interchange functions.

Extension name and usage

If implemented, this extension must be retrievable via:

>>> if hasattr(x, '__dlpack__'):
>>>     # Use the extension

Objects in API

A conforming implementation of this extension must provide and support the following functions/methods.

.. currentmodule:: array_api

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

   from_binsparse


.. autosummary::
   :toctree: generated
   :template: property.rst

   array.__binsparse__
   array.__binsparse_descriptor__