You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/10/16 12:27:22 UTC

[GitHub] larroy opened a new issue #8292: mx.nd.array indexing broken in armv7 / raspberrypi / jessie 8.0

larroy opened a new issue #8292: mx.nd.array indexing broken in armv7 / raspberrypi / jessie 8.0
URL: https://github.com/apache/incubator-mxnet/issues/8292
 
 
   ## Description
   test_ndarray_slice broken in armv7
   multidimensional array indexing broken for 5 dimensions.
   
   ## Environment info (Required)
   
   armv7 / raspberrypi / jessie 8.0
   
   ## Simple reproduction:
   ```
   nosetests --verbose python/unittest/test_ndarray.py
   ```
   
   Manual reproduction with a simpler example:
   
   ```
   In [150]: a=mx.nd.array([[[[[0,1,2],[3,4,5]]]]])
   
   In [151]: a[0]
   Out[151]: 
   
   [[[[ 0.  1.  2.]
      [ 3.  4.  5.]]]]
   <NDArray 1x1x2x3 @cpu(0)>
   
   In [153]: a[0]
   Out[153]: 
   
   [[[[ 0.  1.  2.]
      [ 3.  4.  5.]]]]
   <NDArray 1x1x2x3 @cpu(0)>
   
   In [154]: a[0,0]
   Out[154]: 
   
   [[[  2.00000000e+00   3.00000000e+00   4.00000000e+00]
     [  5.00000000e+00   0.00000000e+00   5.53355948e-39]]]
   <NDArray 1x2x3 @cpu(0)>
   
   In [155]: a[0,0,0]
   Out[155]: 
   
   [[  3.00000000e+00   4.00000000e+00   5.00000000e+00]
    [  0.00000000e+00   5.53355948e-39   9.62310147e+27]]
   <NDArray 2x3 @cpu(0)>
   
   In [156]: a[0,0,0,0]
   Out[156]: 
   
   [ 4.  5.  0.]
   <NDArray 3 @cpu(0)>
   
   In [157]: a[0,0,0,0,0]
   Out[157]: 
   
   [ 0.]
   <NDArray 1 @cpu(0)>
   
   In [158]:     
   
   
   ```
   
 
----------------------------------------------------------------
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