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/11/02 16:02:07 UTC

[GitHub] NRauschmayr commented on issue #13076: ArrayDataset converts ndarray to numpy array

NRauschmayr commented on issue #13076: ArrayDataset converts ndarray to numpy array
URL: https://github.com/apache/incubator-mxnet/issues/13076#issuecomment-435428541
 
 
   Yes there is a reason for it.  If the array has only one dimension, then it won't be converted to an ```mx.nd.array``` and as such it won't be copied to the GPU.  You can find a similar thread here: https://discuss.mxnet.io/t/what-happen-one-of-the-data-from-the-same-iterator-is-on-the-cpu-and-the-other-is-on-the-gpu-is-this-a-bug/961

----------------------------------------------------------------
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