"interpolate()", and so whichever option is used here should
        also be used there to resize the input image before grid
        sampling. Default: "False"
Returns:
      output Tensor
Return type:
      output (Tensor)
Warning:
 When "align_corners = True", the grid positions depend on the
 pixel size relative to the input image size, and so the locations
 sampled by "grid_sample()" will differ for the same input given
 at different resolutions (that is, after being upsampled or
 downsampled). The default behavior up to version 1.2.0 was
 "align_corners = True". Since then, the default behavior has been
 changed to "align_corners = False", in order to bring it in line
 with the default for "interpolate()".

Note:
 "mode='bicubic'" is implemented using the cubic convolution
 algorithm with \alpha=-0.75. The constant \alpha might be
 different from packages to packages. For example, PIL and OpenCV
