-
Notifications
You must be signed in to change notification settings - Fork 23
Add implementation of dpnp.ndarray.tobytes method
#2656
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
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
|
Array API standard conformance tests for dpnp=0.20.0dev0=py313h509198e_42 ran successfully. |
| Examples | ||
| -------- | ||
| >>> import numpy as np | ||
| >>> import dpnp as np |
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.
Please update the same line in def poisson and def rayleigh as well
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.
It was intended to keep that as it is now. The functions needs to be fully reworked and the whole docstrings have to be updated there, not only examples.
vlad-perevezentsev
left a comment
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
Thank you @antonwolfy
The PR adds implementation of `dpnp.ndarray.tobytes` method converting the array to `numpy.ndarray` and calling `.tobytes(...)` for the result. aec0164
The PR adds implementation of
dpnp.ndarray.tobytesmethod converting the array tonumpy.ndarrayand calling.tobytes(...)for the result.