mMagmer:

x = torch.rand(1,1,100,100)
F.interpolate(x, size=(64,64), mode="bilinear")



Yes, thank you it’s a good explanation. Documentation says

“size”` — output spatial size

so it’s needed to understand what is “spatial” dimensions of the input tensor.