tensorflow::ops::FusedResizeAndPadConv2D::Attrs

#include <nn_ops.h>

Optional attribute setters for FusedResizeAndPadConv2D.

Summary

Public attributes

resize_align_corners_ = false
bool

Public functions

ResizeAlignCorners(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

resize_align_corners_

bool tensorflow::ops::FusedResizeAndPadConv2D::Attrs::resize_align_corners_ = false

Public functions

ResizeAlignCorners

TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedResizeAndPadConv2D::Attrs::ResizeAlignCorners(
  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