Hi,
Is there a pytorch equivalent of numpy’s put_along_axis functionality?
I am trying to make values of a tensor to 1 based on given indices in another tensor. Rightnow, I am doing this using numpy and wondering if there is any better way to do this Pytorch?