leezu edited a comment on issue #13076: ArrayDataset converts ndarray to numpy 
array
URL: 
https://github.com/apache/incubator-mxnet/issues/13076#issuecomment-435562321
 
 
   Thanks for the context @NRauschmayr, I now understand how that line of code 
got there in the first place. However, as this is undocumented, it should be 
considered a bug. `mx.gluon.data.ArrayDataset` seems to be a general purpose 
tool for representing data. The case of single dimensional arrays can easily 
arise when representing sparse data in COO format.
   
   I don't see why ArrayDataset should contain an obscure optimization to speed 
up metrics when the user wrongly tries loading data to GPU? Is there not some 
more appropriate place than the constructor of ArrayDataset?

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