mindspore.Tensor.top_k

Tensor.top_k(k, sorted=True)[source]

For details, please refer to mindspore.ops.top_k().