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