Grid_sample padding_mode constant?

Hi,

I have a use-case where I need grid_sample to use a constant padding_mode (1 instead of 0).
Why is this functionality not included in grid_sample?

Is there any other way how I can achieve this?

Feel free to create a feature request with a description of the use case on GitHub.
Contributions are also always welcome. :slight_smile: