Skip to main content

sort

Function sort 

Source
pub fn sort(tensor: HostTensor, dim: usize, descending: bool) -> HostTensor
Expand description

Sort elements along a dimension, returning the sorted tensor.