class
Options for the RESIZENEARESTNEIGHBOR operator.
AirResizeNearestNeighborOptions()Options for the RESIZE_NEAREST_NEIGHBOR operator.
attribute
align_corners
Pythonalign_corners: bool = Field(False, description='If True, align the input and output corners')If True, align the input and output corners (default False).
attribute
half_pixel_centers
Pythonhalf_pixel_centers: bool = Field(False, description='If True, use half-pixel centers')If True, use half-pixel centers (default False).