pub fn conv1d<B>(
x: Tensor<B, 3>,
weight: Tensor<B, 3>,
bias: Option<Tensor<B, 1>>,
options: impl Into<PaddedConvOptions<1>>,
) -> Tensor<B, 3>where
B: Backend,Expand description
Applies a 1D convolution.
Accepts ConvOptions for symmetric padding, or PaddedConvOptions for
asymmetric padding. When asymmetric padding is specified, an explicit pad
operation is applied before the convolution backend op.