tensorflow::ops::QuantizedResizeBilinear
#include <image_ops.h>
Изменение размера квантованного images до size с использованием квантованной билинейной интерполяции.
Краткое описание
Input изображения и выходные изображения должны быть квантованных типов.
Аргументы:
- scope: Объект Scope
- images: 4-мерный с формой
[batch, height, width, channels]. - size: = 1-мерный int32 Tensor из 2 элементов:
new_height, new_width. Новый размер изображений.
Дополнительные атрибуты (см. Attrs):
- align_corners: Если true, центры 4-х угловых пикселей входного и выходного тензоров выровнены, сохраняя значения в угловых пикселях. По умолчанию false.
Возвращает:
-
Outputresized_images: 4-мерный с формой[batch, new_height, new_width, channels]. -
Outputout_min -
Outputout_max
| Конструкторы и деструкторы | |
|---|---|
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) |
| Общественные атрибуты | |
|---|---|
operation | |
out_max | |
out_min | |
resized_images | |
| Общественные статические функции | |
|---|---|
AlignCorners(bool x) | |
HalfPixelCenters(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::QuantizedResizeBilinear::Attrs | Дополнительные атрибуты для QuantizedResizeBilinear. |
Общественные атрибуты
operation
Operation operation
out_max
::tensorflow::Output out_max
out_min
::tensorflow::Output out_min
resized_images
::tensorflow::Output resized_images
Общественные функции
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 )
Общественные статические функции
AlignCorners
Attrs AlignCorners( bool x )
HalfPixelCenters
Attrs HalfPixelCenters( bool x )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-resize-bilinear