You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Currently, MXNet's fancy indexing will fail when indexing with a list rather than a tuple (while it works with NumPy or PyTorch).
Minimal example to reproduce the issue:
importmxnet.ndarrayasnd# Creating a simple third order tensora=nd.arange(24).reshape((3, 4, 2))
# This works finea[slice(None), [1, 2, 1], [0, 1, 2]]
# This should work but does nota[[slice(None), [1, 2, 1], [0, 1, 2]]]
# This works as expecteda[tuple([slice(None), [1, 2, 1], [0, 1, 2]])]