pub fn center_crop(x: &[f32], dims: &[usize]) -> (Vec<f32>, Vec<usize>)
Centered crop with every axis of length ≥ 16 halved (1D: the middle eighth), and its shape.