Skip to content

Commit

Permalink
DOC: document is_*_namespace fns
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascolley committed Aug 20, 2024
1 parent 6280e63 commit c94c18a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/helper-functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ instead, which would be wrapped.
Inspection Helpers
------------------

These convenience functions can be used to test if an array comes from a
These convenience functions can be used to test if an array or namespace comes from a
specific library without importing that library if it hasn't been imported
yet.

Expand All @@ -51,3 +51,11 @@ yet.
.. autofunction:: is_jax_array
.. autofunction:: is_pydata_sparse_array
.. autofunction:: is_ndonnx_array
.. autofunction:: is_numpy_namespace
.. autofunction:: is_cupy_namespace
.. autofunction:: is_torch_namespace
.. autofunction:: is_dask_namespace
.. autofunction:: is_jax_namespace
.. autofunction:: is_pydata_sparse_namespace
.. autofunction:: is_ndonnx_namespace
.. autofunction:: is_array_api_strict_namespace

0 comments on commit c94c18a

Please sign in to comment.