I have a tensor a.shape = [50,64,64]. First, I shrink the size to [20,64,64] by a Con2d layer. Then I want to reconstruct it from [20,64,64] to [50,64,64].
Is there any difference between using:
conv1 = nn.Conv2d(in_channels = 20,out_channels = 50)
conv2 = nn.ConvTranspose2d(in_channels = 20,out_channels = 50)