dibgerge opened a new issue #19422:
URL: https://github.com/apache/incubator-mxnet/issues/19422
## Description
When converting a 1-D `mxnet.numpy` array to list, the result is a list of
arrays of size 1 each. In numpy, the result is a list of number. Is this
behavior intentional?
## To Reproduce
```python
from mxnet import np
import numpy as npy
mxa = np.arange(10)
a = npy.arange(10)
list(mxa)
[array([0.]),
array([1.]),
array([2.]),
array([3.]),
array([4.]),
array([5.]),
array([6.]),
array([7.]),
array([8.]),
array([9.])]
list(a)
# [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
```
## Environment
MxNet 1.7
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]