samskalicky commented on issue #20422:
URL: 
https://github.com/apache/incubator-mxnet/issues/20422#issuecomment-875912316


   Thanks @szha for pointing out that the 1.4.1 implementation was probably 
wrong according to the API doc: 
https://github.com/apache/incubator-mxnet/blob/1.4.1/src/operator/tensor/matrix_op.cc#L409-L410
   
   changing to:
   ```
   a = arr.slice(begin=(0,0), end=(10,1))
   b = csr.slice(begin=(0,0), end=(10,1))
   ```
   where the number of columns were slicing over goes from [0,1) excluding 
column 1 now returns:
   ```
   <NDArray 10x1 @cpu(0)>
   <CSRNDArray 10x1 @cpu(0)>
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to