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 2019/08/30 06:51:46 UTC
[GitHub] [incubator-mxnet] sxjscience opened a new issue #16048: [Numpy]
Automatic type inference mismatch with numpy
sxjscience opened a new issue #16048: [Numpy] Automatic type inference mismatch with numpy
URL: https://github.com/apache/incubator-mxnet/issues/16048
```python
import mxnet.numpy as np
a = 123123213123
b = np.array(a)
print(b.dtype)
# <class 'numpy.float32'>
```
```python
import numpy as np
a = 123123213123
b = np.array(a)
print(b.dtype)
# int64
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services