I’m actually looking for the same thing! ideally with support for reversing the bilinear interpolation that was used when extracting with grid_sample. @ptrblck @albanD @SimonW  any insights on this? Thanks!