指定した次元の方向にsortする# sortする次元はdimで指定>>> sorted, idx = torch.sort(a, dim = -1) # デフォルトはdim = -1 (-1は最後の次元.
確定! 回上一頁