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 2018/12/06 19:08:38 UTC

[GitHub] asmeurer opened a new issue #13563: moveaxis doesn't support negative indices

asmeurer opened a new issue #13563: moveaxis doesn't support negative indices
URL: https://github.com/apache/incubator-mxnet/issues/13563
 
 
   The moveaxis method doesn't support negative indices. Something like
   
   ```
   if source < 0: source = axes[source]
   if target < 0: target = axes[target]
   ```
   
   should fix it. It also doesn't support lists of indices like NumPy. 

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