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/02 23:22:37 UTC
[GitHub] anirudhacharya opened a new issue #13098: size_array operator
returns wrong results on MacOS
anirudhacharya opened a new issue #13098: size_array operator returns wrong results on MacOS
URL: https://github.com/apache/incubator-mxnet/issues/13098
## Description
`size_array` operator returns incorrect results on MacOS but works correctly on Linux systems
Package used (Python/R/Scala/Julia):
I'm using **Python**
Compiler (gcc/clang/mingw/visual studio):
clang
MXNet commit hash:
50f43f05ab61fe9e19698bb18dc34858a240b263
Build config:
make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas
## Minimum reproducible example
```python
import mxnet as mx
a = mx.nd.array([1,2,3,4,5])
print(mx.nd.size_array(a))
```
## Steps to reproduce
1. Run the above script in MacOS, the function will return a junk memory location.
2. Run it on Linux and it will work fine.
## What have you tried to solve it?
1. Use the operator on a linux system.
----------------------------------------------------------------
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