pub fn compute_costs<S: AsRef<[isize]>>(all_strides: &[S]) -> Vec<isize>
Compute the minimum stride cost for each dimension.