Skip to main content

bicubic2d_cpu

Function bicubic2d_cpu 

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

CPU bicubic NCHW oracle (same Keys weights as WGSL).