Resize the features in pytorch

Hi, I would like to resize the features, which obtained from VGG, for example, from 512×m×n to 512×a×b, on GPU, and use bilinear interpolation. I am sorry, I can not find the function to do this. So, I want to know, how can I do this?


Thank you for your answer.