Fancy indexing mxnet 0.12.0


In the release notes of the current mxnet 0.12.0 it says that it now supports fancy indexing (limited), but not really giving any examples of which kind. I tried the following examples, but none of them worked:

a = mx.nd.random.normal(shape=(10,))
a[a > 0]
a[mx.nd.greater(a, 0)]

Are there any further references on how to create the index arrays?


The example you listed here will be supported in the next release, rather than 0.12.
Nevertheless, cases such as a[[0, 1], [0, 1]] are supported in 0.12 (note that a[[0, 1]] is not supported).