I have a input tensor of size [1,32,296,400]
and I have a pixel set of [1, 56000, 400, 2]
After applying grid_sample with mode=‘bilinear’
I have [1, 32, 56000, 400]
Can I know what exactly happened here? I know that grid_sample
is suppose to effective transform pixels to a new location in a differentiable manner, but these dimensions don't make it clear what is happening.