Can the coordinates of a 2 dimensional pytorch tensor be remapped?
I'm trying to remap a 2d image to new coordinates. Previously I was using OpenCV's cv.remap method. I'd like to use CUDA with compiling C directly. Is there a Pytorch version of remap that will interpolate values?

Are you looking for grid_sample?
Look for make_grid function for additional information
