Skip to main content

min_pool

Function min_pool 

Source
pub fn min_pool<B: Backend, T: Float>(
    x: &Array<B, T>,
    window_shape: &[usize],
    strides: Option<&[usize]>,
    padding: impl Into<Padding>,
) -> Array<B, T>
Expand description

The minimum over windows (flax.linen.min_pool); see max_pool.

ยงPanics

Panics if the window does not fit the input.