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 )
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/quantized-resize-bilinear