Solved by sniklaus in post #4 
              
              
                What operation do you want to use, how do you want to map values from one domain into the other? 
I am also not sure why the following isn’t what you were looking for. 
torch.nn.Upsample(size=(50, 50), mode='bilinear')(torch.rand(1, 3, 64, 64))