public static class ResizeNearestNeighborGrad.Options extends Object
ResizeNearestNeighborGrad
Modifier and Type | Method and Description |
---|---|
ResizeNearestNeighborGrad.Options |
alignCorners(Boolean alignCorners) |
ResizeNearestNeighborGrad.Options |
halfPixelCenters(Boolean halfPixelCenters) |
public ResizeNearestNeighborGrad.Options alignCorners(Boolean alignCorners)
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)
halfPixelCenters
- Copyright © 2022. All rights reserved.