Why the grid has 2 in its fourth dimension? what is related for ?
let’s say I have (B,1,x,y), does this procedure make the interpolation on the last two dimension only ?  assuming that each last two dimensions are an image of channel/depth 1 ?
What about downsampling of non rectangular size ? if x and y are not equal