Replies: 4 comments
-
|
@mxnet-label-bot [Question, Python] |
Beta Was this translation helpful? Give feedback.
-
|
Yes there is a reason for it. If the array has only one dimension, then it won't be converted to an |
Beta Was this translation helpful? Give feedback.
-
|
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. 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? |
Beta Was this translation helpful? Give feedback.
-
|
I think the way forward would be to document the feature, the work-around is fairly simple ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
This unexpected and undocumented. Is there any reason for this or can it be deleted?
Environment info (Required)
https://github.com/apache/incubator-mxnet/blob/52116d4d3205361f861141013eb0de40be003e3c/python/mxnet/gluon/data/dataset.py#L151
Beta Was this translation helpful? Give feedback.
All reactions