tensorflow :: opérations :: QuantizedResizeBilinear
#include <image_ops.h>
Redimensionner les images
quantifiées à la size
aide d'une interpolation bilinéaire quantifiée.
Résumé
Les images d' entrée et les images de sortie doivent être de types quantifiés.
Arguments:
- scope: un objet Scope
- images: 4-D avec forme
[batch, height, width, channels]
. - size: = Un Tensor 1-D int32 de 2 éléments:
new_height, new_width
. La nouvelle taille des images.
Attributs facultatifs (voir Attrs
):
- align_corners: Si true, les centres des 4 pixels d'angle des tenseurs d'entrée et de sortie sont alignés, en préservant les valeurs aux pixels d'angle. La valeur par défaut est false.
Retour:
-
Output
resized_images: 4-D avec forme[batch, new_height, new_width, channels]
. -
Output
out_min -
Output
out_max
Constructeurs et destructeurs | |
---|---|
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) |
Attributs publics | |
---|---|
operation | |
out_max | |
out_min | |
resized_images |
Fonctions statiques publiques | |
---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) |
Structs | |
---|---|
tensorflow :: ops :: QuantizedResizeBilinear :: Attrs | Définisseurs d'attributs facultatifs pour QuantizedResizeBilinear . |
Attributs publics
opération
Operation operation
out_max
::tensorflow::Output out_max
out_min
::tensorflow::Output out_min
resized_images
::tensorflow::Output resized_images
Fonctions publiques
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 )
Fonctions statiques publiques
Aligner les coins
Attrs AlignCorners( bool x )
HalfPixelCenters
Attrs HalfPixelCenters( bool x )