Function burn::tensor::module::max_pool2d
pub fn max_pool2d<B>(
x: Tensor<B, 4>,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
) -> Tensor<B, 4>where
B: Backend,
Expand description
Applies a 2D max pooling.