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 2019/03/09 11:25:38 UTC

[GitHub] [incubator-mxnet] wkcn commented on issue #14244: Feature request: share memory between numpy.array and mxnet.ndarray

wkcn commented on issue #14244: Feature request: share memory between numpy.array and mxnet.ndarray
URL: https://github.com/apache/incubator-mxnet/issues/14244#issuecomment-471168948
 
 
   For the sharing from numpy to NDArray, we should use ctypes or weakref module add the inference of numpy object, and decrease the inference through NDArray::deleter.
   
   For the sharing from NDArray to numpy, I think we can add a deleter attribute for numpy object.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services