pub fn normalize_scalar_shape(shape: &[usize]) -> Vec<usize>
Normalize scalar-like shapes to the canonical scalar shape.