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:
-
Outputresized_images: 4-D with shape[batch, new_height, new_width, channels]. -
Outputout_min -
Outputout_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::
|
Optional attribute setters for QuantizedResizeBilinear . |
Public attributes
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 )