fluxo tensor:: ops:: QuantizedResizeBilinear

#include <image_ops.h>

Redimensione images quantizadas para size usando interpolação bilinear quantizada.

Resumo

As imagens de entrada e as imagens de saída devem ser do tipo quantizado.

Argumentos:

  • escopo: um objeto Escopo
  • imagens: 4-D com forma [batch, height, width, channels] .
  • size: = Um tensor 1-D int32 de 2 elementos: new_height, new_width . O novo tamanho das imagens.

Atributos opcionais (veja Attrs ):

  • alinhar_corners: se verdadeiro, os centros dos 4 pixels dos cantos dos tensores de entrada e saída são alinhados, preservando os valores nos pixels dos cantos. O padrão é falso.

Retorna:

  • Output resized_images: 4-D com forma [batch, new_height, new_width, channels] .
  • Output out_min
  • Output out_max

Construtores e Destruidores

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)

Atributos públicos

operation
out_max
out_min
resized_images

Funções estáticas públicas

AlignCorners (bool x)
HalfPixelCenters (bool x)

Estruturas

tensorflow:: ops:: QuantizedResizeBilinear:: Attrs

Configuradores de atributos opcionais para QuantizedResizeBilinear .

Atributos públicos

Operação

Operation operation

out_max

::tensorflow::Output out_max

saída_min

::tensorflow::Output out_min

imagens_redimensionadas

::tensorflow::Output resized_images

Funções públicas

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
)

Funções estáticas públicas

Alinhar cantos

Attrs AlignCorners(
  bool x
)

Centros HalfPixel

Attrs HalfPixelCenters(
  bool x
)