CropAndResize.Options

public static class CropAndResize.Options

Optional attributes for CropAndResize

Public Methods

CropAndResize.Options
extrapolationValue(Float extrapolationValue)
CropAndResize.Options
method(String method)

Inherited Methods

Public Methods

public CropAndResize.Options extrapolationValue (Float extrapolationValue)

Parameters
extrapolationValue Value used for extrapolation, when applicable.

public CropAndResize.Options method (String method)

Parameters
method A string specifying the sampling method for resizing. It can be either `"bilinear"` or `"nearest"` and default to `"bilinear"`. Currently two sampling methods are supported: Bilinear and Nearest Neighbor.