Tensorflow :: ops :: FIFOQueue
#include <data_flow_ops.h>
Eine Warteschlange, die Elemente in der Reihenfolge First-In-First-Out erzeugt.
Zusammenfassung
Argumente:
- scope: Ein Scope- Objekt
- component_types: Der Typ jeder Komponente in einem Wert.
Optionale Attribute (siehe Attrs
):
- Formen: Die Form jeder Komponente in einem Wert. Die Länge dieses attr muss entweder 0 oder gleich der Länge von component_types sein. Wenn die Länge dieses Attributs 0 ist, sind die Formen von Warteschlangenelementen nicht eingeschränkt, und es kann jeweils nur ein Element aus der Warteschlange entfernt werden.
- Kapazität: Die Obergrenze für die Anzahl der Elemente in dieser Warteschlange. Negative Zahlen bedeuten keine Begrenzung.
- container: Wenn nicht leer, wird diese Warteschlange in den angegebenen Container gestellt. Andernfalls wird ein Standardcontainer verwendet.
- freigegebener_name: Wenn diese Warteschlange nicht leer ist, wird sie unter dem angegebenen Namen über mehrere Sitzungen hinweg freigegeben.
Kehrt zurück:
-
Output
: Das Handle für die Warteschlange.
Konstruktoren und Destruktoren | |
---|---|
FIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types) | |
FIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const FIFOQueue::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
handle | |
operation |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
SharedName (StringPiece x) |
Strukturen | |
---|---|
tensorflow :: ops :: FIFOQueue :: Attrs | Optionale Attributsetzer für FIFOQueue . |
Öffentliche Attribute
Griff
::tensorflow::Output handle
Operation
Operation operation
Öffentliche Funktionen
FIFOQueue
FIFOQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types )
FIFOQueue
FIFOQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types, const FIFOQueue::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
Kapazität
Attrs Capacity( int64 x )
Container
Attrs Container( StringPiece x )
Formen
Attrs Shapes( const gtl::ArraySlice< PartialTensorShape > & x )
SharedName
Attrs SharedName( StringPiece x )