Skip to main content

max_pool2d

Function max_pool2d 

Source
pub fn max_pool2d(x: Tensor<4>, options: MaxPoolOptions<2>) -> Tensor<4>
Expand description

Applies a 2D max pooling.

Supports symmetric and asymmetric padding through MaxPoolOptions.