Tensorflow :: ops :: ExtractJpegShape
#include <image_ops.h>
Extrahieren Sie die Forminformationen eines JPEG-codierten Bildes.
Zusammenfassung
Diese Operation analysiert nur den Bildheader , ist also viel schneller als DecodeJpeg .
Argumente:
- scope: Ein Scope- Objekt
- Inhalt: 0-D. Das JPEG-codierte Bild.
Optionale Attribute (siehe Attrs
):
- output_type: (Optional) Der Ausgabetyp der Operation (int32 oder int64). Der Standardwert ist int32.
Kehrt zurück:
-
Output
: 1-D. Die Bildform mit Format [Höhe, Breite, Kanäle].
Konstruktoren und Destruktoren | |
---|---|
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) | |
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
image_shape | |
operation |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
OutputType (DataType x) |
Strukturen | |
---|---|
tensorflow :: ops :: ExtractJpegShape :: Attrs | Optionale Attributsetzer für ExtractJpegShape . |
Öffentliche Attribute
image_shape
::tensorflow::Output image_shape
Operation
Operation operation
Öffentliche Funktionen
ExtractJpegShape
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
ExtractJpegShape
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
Ausgabetyp
Attrs OutputType( DataType x )