8000 MAINT, DOC: make np._from_dlpack public by tirthasheshpatel · Pull Request #21145 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

MAINT, DOC: make np._from_dlpack public #21145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 10, 2022
Prev Previous commit
Next Next commit
DOC: np.from_dlpack: add __dlpack_device__ to the docs
  • Loading branch information
tirthasheshpatel authored Mar 8, 2022
commit dd4b1670486f09154039ad5633c5c5c74ddf44e0
3 changes: 2 additions & 1 deletion numpy/core/_add_newdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,8 @@
Parameters
----------
x : object
A Python object that implements the ``__dlpack__`` method.
A Python object that implements the ``__dlpack__`` and
``__dlpack_device__`` methods.

Returns
-------
Expand Down
0