Hi,
In brief, my code is like this:
a = torch.randn(3,4).view(-1)
print(a)
print(a.argsort)

my pytorch version is 1.5.1, and the output on my platform is:
tensor([-0.3868, -1.0274,  2.1992,  0.2730, -0.7430, -1.2569, -0.9533,  0.4771,
        -1.5247, -0.0411, -0.9043,  0.2035])
tensor([ 8,  5,  1,  6, 10,  4,  0,  9, 11,  3,  7,  2])

How could I make it work, or is there any problem with my understanding of this function ?