tensorflow::ops::QuantizedResizeBilinear

#include <image_ops.h>

Изменение size квантованных images с помощью квантованной билинейной интерполяции.

Краткое содержание

Входные и выходные изображения должны быть квантованными.

Аргументы:

  • scope: Объект Scope
  • изображения: 4D с формой [batch, height, width, channels] .
  • size: = Одномерный тензор типа int32 с двумя элементами: new_height, new_width . Новый размер изображений.

Дополнительные атрибуты (см. Attrs ):

  • align_corners: Если true, центры 4 угловых пикселей входного и выходного тензоров выравниваются, сохраняя значения в угловых пикселях. По умолчанию — false.

Возвращает:

  • Output resized_images: 4-D с формой [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
out_max
out_min
resized_images

Открытые статические функции

AlignCorners (bool x)
HalfPixelCenters (bool x)

Структуры

tensorflow::ops::QuantizedResizeBilinear::Attrs

Дополнительные параметры установки атрибутов для QuantizedResizeBilinear .

Общедоступные атрибуты

операция

Operation operation

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

измененные_изображения

::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
)