"affine_grid()" should be passed to "grid_sample()" with the
        same setting for this option. Default: "False"
Returns:
      output Tensor of size (N \times H \times W \times 2)
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()".

Warning:
 When "align_corners = True", 2D affine transforms on 1D data and
 3D affine transforms on 2D data (that is, when one of the spatial
 dimensions has unit size) are ill-defined, and not an intended
