tensorflow::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 de tipos quantizados.

Argumentos:

  • escopo: Um objeto de escopo
  • Imagens: 4-D com formato [batch, height, width, channels] .
  • tamanho: = Um tensor int32 unidimensional de 2 elementos: new_height, new_width . O novo tamanho para as imagens.

Atributos opcionais (ver Attrs ):

  • align_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.

Devoluções:

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

Construtores e Destrutores

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

Definidores 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 de meio pixel

Attrs HalfPixelCenters(
  bool x
)