Hi! I have two arrays of shape:
items.shape=(200,100,3)
indexes.shape=(200)
I would like to pick, for all 200 items in the first dimension, the item designed by the respective item at indexes. I would like to do a more elegant solution than
torch.stack([items[i,indexes[i]] for i in range(len(indexes))])
Thanks in advance!