Class ResizeArea.Options
java.lang.Object
org.tensorflow.op.image.ResizeArea.Options
- Enclosing class:
ResizeArea
Optional attributes for
ResizeArea-
Method Summary
Modifier and TypeMethodDescriptionalignCorners(Boolean alignCorners) Sets the alignCorners option.
-
Method Details
-
alignCorners
Sets the alignCorners option.- 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.- Returns:
- this Options instance.
-