ChaiBapchya edited a comment 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)> ``` ``` >>> mx.nd.repeat(mx.nd.array([[[1,2],[3,4]],[[5,6],[7,8]]]),repeats=1) [1. 2. 3. 4. 5. 6. 7. 8.] <NDArray 8 @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: [email protected] With regards, Apache Git Services
