tensorflow::ops::ResizeNearestNeighbor::Attrs

#include <image_ops.h>

Optional attribute setters for ResizeNearestNeighbor.

Summary

Public attributes

align_corners_ = false
bool

Public functions

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.

Public attributes

align_corners_

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

Public functions

AlignCorners

Attrs tensorflow::ops::ResizeNearestNeighbor::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