Is there any way to find the indices of repeated (duplicate) rows in a 2D or 3D tensor using pytorch?
i.e. in the following tensor, is there any pytorch function that I can use in order to identify the indices of the repeated rows
tensor([[ 1.00, -1.00, 3.00],
[ 2.00, 1.00, 0.00],
[ 0.00, 2.00, -4.00],
[ 2.00, 1.00, 0.00],
[ 3.00, -2.00, 0.50],
[ 1.00, -1.00, -0.50],
[-2.50, 0.00, 2.30],
[-0.50, -0.70, 0.60],
[ 2.00, 1.00, 0.00]])