Spec-Zone.ru › TensorFlow C++ 1.15

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.

Возвращает:

  • Output resized_images: 4-мерный с формой [batch, new_height, new_width, channels].
  • Output out_min
  • Output out_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
Operation
out_max
::tensorflow::Output
out_min
::tensorflow::Output
resized_images
::tensorflow::Output
Общественные статические функции
AlignCorners(bool x)
Attrs
HalfPixelCenters(bool x)
Attrs
Структуры
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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API