ResizeNearestNeighborGrad.Options

public static class ResizeNearestNeighborGrad.Options

Optional attributes for ResizeNearestNeighborGrad

Public Methods

ResizeNearestNeighborGrad.Options
alignCorners(Boolean alignCorners)
ResizeNearestNeighborGrad.Options
halfPixelCenters(Boolean halfPixelCenters)

Inherited Methods

Public Methods

public ResizeNearestNeighborGrad.Options alignCorners (Boolean alignCorners)

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

public ResizeNearestNeighborGrad.Options halfPixelCenters (Boolean halfPixelCenters)