From the PyTorch documentation for Convolution, I see the function torch.nn.Conv1d
requires users to pass the parameters in_channels
and out_channels
.
I know these refer to "input channels" and "output channels", but I am not sure what they mean in the context of a convolution. My guess is that in_channels
is equivalent to the input features and out_channels
is equivalent to the output features, but I am not sure.
Could someone explain what thse arguments refer to?