Skip to content

.forward()

Apply the convolution to the input.

Parameters:

  • x (Tensor) –

    Input of shape (batch, in_channels, H, W) or (in_channels, H, W).