loading...
Home / Blog / A Simple Conv2D Dimensions Calculator & Logger
Quickly calculate the output shape from a CNN (using nn.Conv2d/ConvTranspose2d/*Pool2d layers), given the shape of input tensor.
(N, C, H, W)IN = (, , , )
(N, C, H, W)OUT = (, , , )