Yeah, it certainly only does interpolation without any learning. You can choose the interpolation mode. If you need learnable interpolation, conv(transpose) or the grid_sample 5 (maybe along with the affine_grid 6 fn) could be a way to go.