I found only the F.interpolate was used when upsampling, but the PAD module was used in the paper(The IEEE paper, not the arxiv's).