1pub fn transpose_shapes(shape: &[u32]) -> Vec<u32>{ 2 if shape.len() != 2{ 3 return Vec::new(); 4 } 5 6 vec!{shape[1], shape[0]} 7}