Hi, I want to get unique rows from a matrix, which means from
torch.LongTensor([[2,2,3],[1,2,3],[1,2,3]])
I want to get [[2,2,3],[1,2,3]] and their position [0,1]. and remove all redundancy rows
Hi, I want to get unique rows from a matrix, which means from
torch.LongTensor([[2,2,3],[1,2,3],[1,2,3]])
I want to get [[2,2,3],[1,2,3]] and their position [0,1]. and remove all redundancy rows
we dont have any in-built function to do this.