tensorflow:: ops:: QuantizedResizeBilinear

#include <image_ops.h>

Redimensiona images cuantificadas al size mediante interpolación bilineal cuantificada.

Resumen

Las imágenes de entrada y las imágenes de salida deben ser de tipos cuantificados.

Argumentos:

  • ámbito: Un objeto de ámbito
  • Imágenes: 4-D con forma [batch, height, width, channels] .
  • tamaño: = Un tensor int32 unidimensional de 2 elementos: new_height, new_width . El nuevo tamaño para las imágenes.

Atributos opcionales (ver Attrs ):

  • align_corners: Si es verdadero, los centros de los 4 píxeles de las esquinas de los tensores de entrada y salida se alinean, conservando los valores en dichos píxeles. El valor predeterminado es falso.

Devoluciones:

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

Constructores y destructores

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

funciones estáticas públicas

AlignCorners (bool x)
HalfPixelCenters (bool x)

Estructuras

tensorflow:: ops:: QuantizedResizeBilinear:: Attrs

Configuradores de atributos opcionales para QuantizedResizeBilinear .

Atributos públicos

operación

Operation operation

salida_máx

::tensorflow::Output out_max

minutos de salida

::tensorflow::Output out_min

imágenes redimensionadas

::tensorflow::Output resized_images

Funciones públicas

CuantizadoRedimensionarBilineal

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

CuantizadoRedimensionarBilineal

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const QuantizedResizeBilinear::Attrs & attrs
)

funciones estáticas públicas

Alinear esquinas

Attrs AlignCorners(
  bool x
)

Centros de medio píxel

Attrs HalfPixelCenters(
  bool x
)