tensorflow::ops::ResizeBilinear::Attrs

#include <image_ops.h>

Optional attribute setters for ResizeBilinear.

Summary

Public attributes

align_corners_ = false
bool

Public functions

AlignCorners(bool x)
If true, rescale input by (new_height - 1) / (height - 1), which exactly aligns the 4 corners of images and resized images.

Public attributes

align_corners_

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

Public functions

AlignCorners

Attrs tensorflow::ops::ResizeBilinear::Attrs::AlignCorners(
  bool x
)

If true, rescale input by (new_height - 1) / (height - 1), which exactly aligns the 4 corners of images and resized images.

If false, rescale by new_height / height. Treat similarly the width dimension.

Defaults to false