You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/02/19 15:33:45 UTC
[GitHub] jmacglashan opened a new issue #9827: Request: to_bytes and from_bytes variant of ndarray.save and ndarray.load.
jmacglashan opened a new issue #9827: Request: to_bytes and from_bytes variant of ndarray.save and ndarray.load.
URL: https://github.com/apache/incubator-mxnet/issues/9827
Mxnet has convenient `ndarray` (and `ParameterDict`) save/load functions, but they always go through files specified by a path. Because of a serialization pipeline my project is using, it would be convenient to have a helper utility for `to_bytes` and `from_bytes` that operates just like the current `ndarray.save` and `ndarray.load` utilities, but rather than saving to a file, `ndarray.to_bytes` would return the byte stream that `save` would write to file and `ndarray.from_bytes` would return the dict/ndarray from a bytestream that would have been loaded by the file with the corresponding bytes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services