从torch.nn.ConvTranspose2d()函数文档中看到的,这个是height的,weight和这个类似
latex公式:
H_{out} = (H_{in} - 1) \times \text{stride}[0] - 2 \times \text{padding}[0] + \text{dilation}[0]
\times (\text{kernel_size}[0] - 1) + \text{output_padding}[0] + 1
转成公式:
从torch.nn.ConvTranspose2d()函数文档中看到的,这个是height的,weight和这个类似
latex公式:
H_{out} = (H_{in} - 1) \times \text{stride}[0] - 2 \times \text{padding}[0] + \text{dilation}[0]
\times (\text{kernel_size}[0] - 1) + \text{output_padding}[0] + 1
转成公式: