interpolation method to sample the input pixels.
"grid" specifies the sampling pixel locations normalized by the
   "input" spatial dimensions. Therefore, it should have most values
   in the range of "[-1, 1]". For example, values "x = -1, y = -1" is
   the left-top pixel of "input", and values  "x = 1, y = 1" is the
   right-bottom pixel of "input".
If "grid" has values outside the range of "[-1, 1]", the
   corresponding outputs are handled as defined by "padding_mode".
   Options are
  * "padding_mode="zeros"": use "0" for out-of-bound grid
    locations,

  * "padding_mode="border"": use border values for out-of-bound
    grid locations,

  * "padding_mode="reflection"": use values at locations reflected
    by the border for out-of-bound grid locations. For location
    far away from the border, it will keep being reflected until
    becoming in bound, e.g., (normalized) pixel location "x =
    -3.5" reflects by border "-1" and becomes "x' = 1.5", then
