Layer4 of ResNet18 is a tensor of A(80x512x7x7) and the layer4 of ResNet50 is a tensor of B(80x2048x7x7).
I wanted to upsample A to get a tensor with the same dimension, could you please tell me the most efficient way to do that?