ResizeNearestNeighborGrad.Options

public static class ResizeNearestNeighborGrad.Options

Optional attributes for ResizeNearestNeighborGrad

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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)