I have checked argsort function of pytorch and numpy are same by definition.
However, when I use those functions along different size of random tensor(or ndarray), It makes difference. I have no idea why this difference is observed.
Example code:

and results below,
