tensorflow :: operaciones :: QuantizedResizeBilinear

#include <image_ops.h>

Cambiar el tamaño cuantificado images a size utilizando la interpolación bilineal cuantificado.

Resumen

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

Argumentos:

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

Atributos opcionales (consulte 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 los píxeles de las esquinas. 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

Establecedores de atributos opcionales para QuantizedResizeBilinear .

Atributos públicos

operación

Operation operation

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

resized_images

::tensorflow::Output resized_images

Funciones publicas

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
)

Funciones estáticas públicas

Alinear esquinas

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)