reminisce commented on issue #14244: Feature request: share memory between 
numpy.array and mxnet.ndarray
URL: 
https://github.com/apache/incubator-mxnet/issues/14244#issuecomment-481045599
 
 
   I think adding a parameter to the existing API may introduce certain level 
of ambiguity which is not desirable. For example, `mx.nd.array` takes not just 
numpy arrays as arguments, but `shared=True` only works for numpy arrays. We 
can consider adding this parameter to a new API, for example: 
`mx.nd.from_numpy(zero_copy=True)`, and it falls back to `mx.nd.array` when 
`zero_copy` is `False`.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to