reminisce commented on issue #9802: No support for slicing arrays along 
multiple axes
URL: 
https://github.com/apache/incubator-mxnet/issues/9802#issuecomment-367232927
 
 
   Are you referring to these two examples? Both of them can be achieved using 
the `slice` operator. That's why I would like to see another example.
   ```
   Example 1:
   
   data = [
       [1, 2, 3, 4],
       [5, 6, 7, 8],
   ]
   axes = [0, 1]
   starts = [1, 0]
   ends = [2, 3]
   
   result = [
       [5, 6, 7],
   ]
   Example 2:
   
   data = [
       [1, 2, 3, 4],
       [5, 6, 7, 8],
   ]
   starts = [0]
   ends = [-1]
   
   result = [
       [1, 2, 3, 4],
   ]
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to