Tensorflow :: ops :: QuantizedResizeBilinear
#include <image_ops.h>
Ändern Sie die size
quantisierter images
mithilfe quantisierter bilinearer Interpolation.
Zusammenfassung
Eingabebilder und Ausgabebilder müssen quantisierte Typen sein.
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
resized_images: 4-D mit Form[batch, new_height, new_width, channels]
. -
Output
out_min -
Output
out_max
Konstruktoren und Destruktoren | |
---|---|
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) |
Öffentliche Attribute | |
---|---|
operation | |
out_max | |
out_min | |
resized_images |
Öffentliche statische Funktionen | |
---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) |
Strukturen | |
---|---|
tensorflow :: ops :: QuantizedResizeBilinear :: Attrs | Optionale Attributsetzer für QuantizedResizeBilinear . |
Öffentliche Attribute
Operation
Operation operation
out_max
::tensorflow::Output out_max
out_min
::tensorflow::Output out_min
resized_images
::tensorflow::Output resized_images
Öffentliche Funktionen
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 )
Öffentliche statische Funktionen
AlignCorners
Attrs AlignCorners( bool x )
HalfPixelCenter
Attrs HalfPixelCenters( bool x )