Skip to main content

ClikaRT::ops::argsort

function

argsort()

Tensor argsort(
    Tensor x,
    std::int64_t dim = -1,
    bool descending = false,
    bool stable = false
)

Indices that would sort x along dim (ascending unless descending).

Declared in ClikaRT/compute/ops.h, line 5429