I obtained the solution in PyTorch Forum. >>> import torch >>> torch.__version__ '1.7.1' >>> p1 = torch.tensor ([2, 0, 1]) >>> torch.argsort ...
確定! 回上一頁