tensorflow::ops::ResizeBicubic
#include <image_ops.h> size images utilizzando l'interpolazione bicubica.
Riepilogo
Le immagini di input possono essere di diversi tipi, ma le immagini di output sono sempre in formato float.
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:
-
Output: 4-D con forma[batch, new_height, new_width, channels].
Costruttori e distruttori | |
|---|---|
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size) | |
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBicubic::Attrs & attrs) |
attributi pubblici | |
|---|---|
operation | |
resized_images | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni statiche pubbliche | |
|---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::ResizeBicubic::Attrs | Impostatori di attributi opzionali per ResizeBicubic . |
attributi pubblici
operazione
Operation operation
immagini_ridimensionate
::tensorflow::Output resized_images
Funzioni pubbliche
Ridimensiona Bicubico
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
Ridimensiona Bicubico
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBicubic::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
AllineaCorners
Attrs AlignCorners( bool x )
Centri di mezzo pixel
Attrs HalfPixelCenters( bool x )