-
Notifications
You must be signed in to change notification settings - Fork 30
Updated from_dlpack docstring #1919
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
Conversation
Closes gh-1917. The change to docstring documents that `tensor.from_dlpack` may return numpy.ndarray or tensor.usm_ndarray and stipulates when that may happen.
Removed duplicated statements clarifying type of the return object from entries describing supported device keyword values to the paragraph describing the return type. Moved the note pertaining to the SYCL queue of the returned usm_ndarray there as well.
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.19.0dev0=py310hdf72452_288 ran successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @oleksandr-pavlyk, LGTM!
Closes gh-1917.
The change to docstring documents that
tensor.from_dlpack
may returnnumpy.ndarray
ortensor.usm_ndarray
and stipulates when that may happen.