pub fn max_pool1d<B>( x: Tensor<B, 3>, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ) -> Tensor<B, 3>where B: Backend,
Applies a 1D max pooling.