Solved by JuanFMontesinos in post #6 
              
              
                Hi, 
I’m running it and it works for me. 
In [7]: o=it(torch.rand(1, 128, 120, 160),size=(240,320))                       

In [8]: o.size()                                                                
Out[8]: torch.Size([1, 128, 240, 320]

it calls 
torch.nn.functional.interpolate

Which pytorch…