Skip to main content

SORT

Static SORT 

Source
pub static SORT: Prim
Expand description

Sorts operands of the same shape along a dimension, lexicographically by the first num_keys of them (Params::Sort). Floats are ordered as -inf < ... < 0 < ... < inf < NaN, with -0.0 equal to 0.0 and all NaNs equal, as in JAX.