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/07/25 22:34:15 UTC

[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #15593: Large Index Support for Slice

ChaiBapchya commented on issue #15593: Large Index Support for Slice
URL: https://github.com/apache/incubator-mxnet/pull/15593#issuecomment-515239154
 
 
   How about using `repeat` operator for converting any dimension array to 1D?
   ```
   >> mx.nd.repeat(mx.nd.array([[[1,2],[3,4]]]),repeats=1)
   
   [1. 2. 3. 4.]
   <NDArray 4 @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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services