Tensorflow :: ops :: TensorArrayGather
#include <data_flow_ops.h>
Sammelt bestimmte Elemente aus der TensorArray in value
.
Zusammenfassung
Alle durch indices
ausgewählten Elemente müssen dieselbe Form haben.
Argumente:
- scope: Ein Scope- Objekt
- handle: Der Griff zu einem TensorArray .
- Indizes: Die Positionen im TensorArray, an denen Tensorelemente gelesen werden sollen.
- flow_in: Ein Float-Skalar, der die ordnungsgemäße Verkettung von Operationen erzwingt.
- dtype: Der Typ des zurückgegebenen Elems.
Optionale Attribute (siehe Attrs
):
- element_shape: Die erwartete Form eines Elements, falls bekannt. Wird verwendet, um die Formen von TensorArray- Elementen zu validieren. Wenn diese Form nicht vollständig angegeben ist, ist das Sammeln von TensorArrays der Größe Null ein Fehler.
Kehrt zurück:
-
Output
: Alle Elemente im TensorArray , verkettet entlang einer neuen Achse (der neuen Dimension 0).
Konstruktoren und Destruktoren | |
---|---|
TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype) | |
TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
operation | |
value |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
ElementShape (PartialTensorShape x) |
Strukturen | |
---|---|
tensorflow :: ops :: TensorArrayGather :: Attrs | Optionale Attributsetzer für TensorArrayGather . |
Öffentliche Attribute
Operation
Operation operation
Wert
::tensorflow::Output value
Öffentliche Funktionen
TensorArrayGather
TensorArrayGather( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype )
TensorArrayGather
TensorArrayGather( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
ElementShape
Attrs ElementShape( PartialTensorShape x )