rbyche opened a new pull request, #21202: URL: https://github.com/apache/mxnet/pull/21202
## Description ## Add bytes conversion to NDArray. The newly added NDArray's 'asbytes' and 'from_buffer' are completely equivalent to numpy's 'tobytes' and 'frombuffer', respectively. These features make better use of NDArray. ## Checklist ## ### Essentials ### - [ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc) - [ ] Changes are complete (i.e. I finished coding on this PR) - [ ] All changes have test coverage - [ ] Code is well-documented ### Changes ### - [ ] Add 'asbytes' method to NDArray - [ ] Add 'from_buffer' function to NDArray ## Comments ## - If this change is a backward incompatible change, why must this change be made. - Interesting edge cases to note here -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
