#x is image. Link: https://github.com/Justin-Tan/generative-compression/blob/master/cGAN/network.py. I read related question but the padding is more confusing here because it pa