pub fn patchify(img: &RgbFrame, patch: usize) -> VisionInputExpand description
Patchify an image whose sides are multiples of patch: v/255 (f32,
the processor’s rescale), then 2·(v - 0.5) (the patch embedder).
pub fn patchify(img: &RgbFrame, patch: usize) -> VisionInputPatchify an image whose sides are multiples of patch: v/255 (f32,
the processor’s rescale), then 2·(v - 0.5) (the patch embedder).