public static class
ResizeNearestNeighbor.Options
Optional attributes for ResizeNearestNeighbor
Public Methods
ResizeNearestNeighbor.Options |
alignCorners(Boolean alignCorners)
|
ResizeNearestNeighbor.Options |
halfPixelCenters(Boolean halfPixelCenters)
|
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 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. |
---|