pub fn planar_f32_to_nchw<const CHANNELS: usize>(
planar: &PlanarImage<f32, CHANNELS>,
) -> VisionResult<TensorBuffer>Expand description
Packs a planar CHW f32 image into contiguous NCHW [1,C,H,W].
pub fn planar_f32_to_nchw<const CHANNELS: usize>(
planar: &PlanarImage<f32, CHANNELS>,
) -> VisionResult<TensorBuffer>Packs a planar CHW f32 image into contiguous NCHW [1,C,H,W].