Hi,
I have this piece of code from keras
tf.layers.conv2d_transpose(fcn8, filters=512,
    kernel_size=4, strides=(2, 2), padding='SAME', name="fcn9")

that I would like to convert to Pytorch. In keras, for the input image of size(4,4), it would yield the image of size (8,8). Without the “same” padding in Pytorch, the operation would give a (10,10) image. Is there anyway I can model this operation?