tensorflow::ops::QuantizedResizeBilinear

#include <image_ops.h>

Resize quantized images to size using quantized bilinear interpolation.

Summary

Input images and output images must be quantized types.

Args:

  • scope: A Scope object
  • images: 4-D with shape [batch, height, width, channels].
  • size: = A 1-D int32 Tensor of 2 elements: new_height, new_width. The new size for the images.

Optional attributes (see Attrs):

  • align_corners: 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:

  • Output resized_images: 4-D with shape [batch, new_height, new_width, channels].
  • Output out_min
  • Output out_max

Constructors and Destructors

QuantizedResizeBilinear(const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, ::tensorflow::Input min, ::tensorflow::Input max)
QuantizedResizeBilinear(const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, ::tensorflow::Input min, ::tensorflow::Input max, const QuantizedResizeBilinear::Attrs & attrs)

Public attributes

operation
out_max
out_min
resized_images

Public static functions

AlignCorners(bool x)
HalfPixelCenters(bool x)

Structs

tensorflow::ops::QuantizedResizeBilinear::Attrs

Optional attribute setters for QuantizedResizeBilinear.

Public attributes

operation

Operation operation

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

resized_images

::tensorflow::Output resized_images

Public functions

QuantizedResizeBilinear

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

QuantizedResizeBilinear

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const QuantizedResizeBilinear::Attrs & attrs
)

Public static functions

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)