Function compact_strides

Source
pub fn compact_strides(shape: &[usize]) -> Vec<usize>