.forward()
Apply max pooling to the input.
Parameters:
-
x(Tensor) –Input of shape
(batch, channels, H, W)or(channels, H, W).
Apply max pooling to the input.
Parameters:
x
(Tensor)
–
Input of shape (batch, channels, H, W) or (channels, H, W).