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