Skip to main content

resize_nearest_nchw_f32

Function resize_nearest_nchw_f32 

Source
pub fn resize_nearest_nchw_f32(
    input: &[f32],
    c: usize,
    h_in: usize,
    w_in: usize,
    h_out: usize,
    w_out: usize,
    out: &mut [f32],
) -> Result<(), VisionError>
Expand description

Resize each channel plane independently (nearest neighbour).