tensorflow::ops::QuantizedResizeBilinear
#include <image_ops.h>
Изменяет размер квантованного images до size с помощью квантованной билинейной интерполяции.
Краткое описание
Входные изображения и выходные изображения должны иметь квантованные типы.
Аргументы:
- scope: объект Scope
- images: 4-D с формой
[batch, height, width, channels]. - size: = 1-D тензор int32 из 2 элементов:
new_height, new_width. Новый размер изображений.
Необязательные атрибуты (см. Attrs):
- align_corners: если значение true, центры 4 угловых пикселей входных и выходных тензоров выравниваются, что позволяет сохранять значения угловых пикселей. По умолчанию — false.
Возвращает:
-
Outputresized_images: 4-D с формой[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