powered by
Conv1d
NA input tensor of shape \((\mbox{minibatch} , \mbox{in\_channels} , iW)\)
NA filters of shape \((\mbox{out\_channels} , \frac{\mbox{in\_channels}}{\mbox{groups}} , kW)\)
NA optional bias of shape \((\mbox{out\_channels})\). Default: None
None
NA the stride of the convolving kernel. Can be a single number or a one-element tuple (sW,). Default: 1
(sW,)
NA implicit paddings on both sides of the input. Can be a single number or a one-element tuple (padW,). Default: 0
(padW,)
NA the spacing between kernel elements. Can be a single number or a one-element tuple (dW,). Default: 1
(dW,)
NA split input into groups, \(\mbox{in\_channels}\) should be divisible by the number of groups. Default: 1
Applies a 1D convolution over an input signal composed of several input planes.
See ~torch.nn.Conv1d for details and output shape.
~torch.nn.Conv1d
.. include:: cudnn_deterministic.rst
# NOT RUN { if (torch_is_installed()) { filters = torch_randn(c(33, 16, 3)) inputs = torch_randn(c(20, 16, 50)) nnf_conv1d(inputs, filters) } # }
Run the code above in your browser using DataLab