ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tensorflow:: ops:: ResizeArea:: Attrs

#include <image_ops.h>

Optional attribute setters for ResizeArea .

Summary

Public attributes

align_corners_ = false
bool

Public functions

AlignCorners (bool x)
TF_MUST_USE_RESULT Attrs
If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels.

Public attributes

align_corners_

bool tensorflow::ops::ResizeArea::Attrs::align_corners_ = false

Public functions

AlignCorners

TF_MUST_USE_RESULT Attrs tensorflow::ops::ResizeArea::Attrs::AlignCorners(
  bool x
)

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.

Defaults to false