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


With regards,
Apache Git Services

Reply via email to