fn compute_row_major_strides<T: ArrowPrimitiveType>( shape: &[usize], ) -> Result<Vec<usize>>
Computes the strides required assuming a row major memory layout