pytorch / 2 / generated / torch.tensor.argsort.html

torch.Tensor.argsort

Tensor.argsort(dim=-1, descending=False) → LongTensor

See torch.argsort()

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.Tensor.argsort.html