Will it matter if the input image is scaled between 0…1 or -1…1? Ideally, it shouldn’t.
No, I don’t think the input image value range should matter as grid_sample
would just sample and interpolate the input to create the output grid. Are you seeing any issues using these scales?