Identical Conv & Deconv Layers Produce Different Output

Sometimes there are multiple possible output sized of your ConvTranspose layer. You can specify a certain size using output_size on the call:

output = conv_trans(x, output_size=...)