pub fn avg_pool2d_dispatch(
input: &[f32],
c: usize,
h: usize,
w: usize,
kh: usize,
kw: usize,
stride_h: usize,
stride_w: usize,
out: &mut [f32],
prefer_gpu: bool,
) -> Result<(VisionComputeReport, usize, usize), VisionError>Expand description
Avg-pool dispatch wrapping the CPU oracle.