Tensorflow :: ops :: ResizeBicubic
#include <image_ops.h>
Ändern Sie die size
images
mithilfe der bikubischen Interpolation.
Zusammenfassung
Es gibt verschiedene Arten von Eingabebildern , aber Ausgabebilder sind immer schwebend.
Argumente:
- scope: Ein Scope- Objekt
- Bilder: 4-D mit Form
[batch, height, width, channels]
. - Größe: = Ein 1-D int32 Tensor aus 2 Elementen:
new_height, new_width
. Die neue Größe für die Bilder.
Optionale Attribute (siehe Attrs
):
- align_corners: Wenn true, werden die Mitten der 4 Eckpixel der Eingangs- und Ausgangstensoren ausgerichtet, wobei die Werte an den Eckpixeln erhalten bleiben. Der Standardwert ist false.
Kehrt zurück:
-
Output
: 4-D mit Form[batch, new_height, new_width, channels]
.
Konstruktoren und Destruktoren | |
---|---|
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) |
Öffentliche Attribute | |
---|---|
operation | |
resized_images |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) |
Strukturen | |
---|---|
tensorflow :: ops :: ResizeBicubic :: Attrs | Optionale Attributsetzer für ResizeBicubic . |
Öffentliche Attribute
Operation
Operation operation
resized_images
::tensorflow::Output resized_images
Öffentliche Funktionen
ResizeBicubic
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
ResizeBicubic
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBicubic::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
AlignCorners
Attrs AlignCorners( bool x )
HalfPixelCenter
Attrs HalfPixelCenters( bool x )