Class ResizeArea.Options

java.lang.Object
org.tensorflow.op.image.ResizeArea.Options
Enclosing class:
ResizeArea

public static class ResizeArea.Options extends Object
Optional attributes for ResizeArea
  • Method Details

    • alignCorners

      public ResizeArea.Options alignCorners(Boolean 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.