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/08/10 17:53:16 UTC

[GitHub] perdasilva edited a comment on issue #12090: [MXNET-791][WIP] Pick with negative indices

perdasilva edited a comment on issue #12090: [MXNET-791][WIP] Pick with negative indices
URL: https://github.com/apache/incubator-mxnet/pull/12090#issuecomment-412007597
 
 
   @haojin2 No problem at all ^^
   The only thing I could find that is similar to pick in numpy is [numpy.choose](https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.choose.html). But there's no axis input there. It also seems that 'raise' is the default mode.  Upon closer inspection, 'wrap' works the same here as with numpy. Interestingly though, np.array indexing is in the range [-len, len) ^^
   
   I'll also increase the coverage for the test.

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