Alicia1529 opened a new pull request #17672: [Numpy/Don't merge] more support for boolean indexing/assign and change on implementation URL: https://github.com/apache/incubator-mxnet/pull/17672 ## Description ## 1. implement boolean indexing through advanced indexing by following the below method > In general if an index includes a Boolean array, the result will be identical to inserting `obj.nonzero()` into the same position and using the integer array indexing mechanism described above. `x[ind_1, boolean_array, ind_2]` is equivalent to `x[(ind_1,) + boolean_array.nonzero() + (ind_2,)]`. 2. support boolean indexing/assign mixed with other ndarray 3. support boolean assign without restriction on position (previously only support at most one boolean array at the end of the index array) 4. support `True/ array(True)`, `False/array(False)` as part of the indices
---------------------------------------------------------------- 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
