perdasilva commented 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 not 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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to