-
-
Notifications
You must be signed in to change notification settings - Fork 981
Implement tobytes for CuPy arrays
#2617
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
882cf73 to
c369dbb
Compare
|
Thank you for the PR! |
|
Successfully created a job for commit c369dbb: |
c369dbb to
5ca3dec
Compare
Makes a simple implementation of `tobytes` for CuPy arrays, which converts the data back into a NumPy array and let's NumPy do the heavy lifting.
5ca3dec to
dceca04
Compare
|
|
||
|
|
||
| @testing.parameterize( | ||
| {'shape': (1,)}, |
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.
Why did you fix this line?
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.
Because trying to do prod of () wasn't working. Didn't realize you had a utility for shaped_arange though. So could give it another try.
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.
Have added () to the line before. Let's see how it goes 🙂
Co-Authored-By: Akifumi Imanishi <[email protected]>
|
Jenkins CI test (for commit c369dbb, target branch master) failed with status FAILURE. |
|
Would it be possible to nudge Jenkins again? Think it is reporting for an old commit here. |
|
Jenkins, test this please. |
|
Successfully created a job for commit 10c6c00: |
|
Jenkins CI test (for commit 10c6c00, target branch master) succeeded! |
|
LGTM. Thank you for the PR! |
|
Thanks for the review! 😀 |
Makes a simple implementation of
tobytesfor CuPy arrays, which converts the data back into a NumPy array and let's NumPy do the heavy lifting.