tensorflow:: ops:: QuantizedResizeBilinear
#include <image_ops.h> size images quantizzate utilizzando l'interpolazione bilineare quantizzata.
Riepilogo
Le immagini di input e di output devono essere di tipo quantizzato.
Argomentazioni:
- ambito: un oggetto Scope
- immagini: 4D con forma
[batch, height, width, channels]. - dimensione: = Un tensore int32 1D di 2 elementi:
new_height, new_width. La nuova dimensione per le immagini.
Attributi opzionali (vedere Attrs ):
- align_corners: Se impostato su true, i centri dei 4 pixel d'angolo dei tensori di input e output vengono allineati, preservando i valori dei pixel d'angolo. Il valore predefinito è false.
Resi:
-
Outputresized_images: 4-D con forma[batch, new_height, new_width, channels]. -
Outputout_min -
Outputout_max
Costruttori e distruttori | |
|---|---|
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) |
attributi pubblici | |
|---|---|
operation | |
out_max | |
out_min | |
resized_images | |
Funzioni statiche pubbliche | |
|---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::QuantizedResizeBilinear::Attrs | Impostatori di attributi opzionali per QuantizedResizeBilinear . |
attributi pubblici
operazione
Operation operation
out_max
::tensorflow::Output out_max
out_min
::tensorflow::Output out_min
resized_images
::tensorflow::Output resized_images
Funzioni pubbliche
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 )
Funzioni statiche pubbliche
AlignCorners
Attrs AlignCorners( bool x )
HalfPixelCenters
Attrs HalfPixelCenters( bool x )