ResizeNearestNeighbor.Options

public static class ResizeNearestNeighbor.Options

Optional attributes for ResizeNearestNeighbor

Public Methods

ResizeNearestNeighbor.Options
alignCorners(Boolean alignCorners)
ResizeNearestNeighbor.Options
halfPixelCenters(Boolean halfPixelCenters)

Inherited Methods

Public Methods

public ResizeNearestNeighbor.Options alignCorners (Boolean alignCorners)

Parameters
alignCorners If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels. Defaults to false.

public ResizeNearestNeighbor.Options halfPixelCenters (Boolean halfPixelCenters)