Function burn::tensor::module::max_pool1d_with_indices
pub fn max_pool1d_with_indices<B>(
x: Tensor<B, 3>,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
) -> (Tensor<B, 3>, Tensor<B, 3, Int>)where
B: Backend,
Expand description
Applies a 1D max pooling.