pub fn patchify(latent: &[f32], c: usize, h: usize, w: usize) -> Vec<f32>
latent [c, h, w] → tokens [(h/2)·(w/2), 4c], feature (dy·2+dx)·c + ch.