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/01 09:49:59 UTC
[GitHub] leezu opened a new issue #13076: ArrayDataset converts ndarray to
numpy array
leezu opened a new issue #13076: ArrayDataset converts ndarray to numpy array
URL: https://github.com/apache/incubator-mxnet/issues/13076
## Description
```
if isinstance(data, ndarray.NDArray) and len(data.shape) == 1:
data = data.asnumpy()
```
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
----------------------------------------------------------------
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