tensorflow:: ops:: TensorArrayGather
#include <data_flow_ops.h> אסוף אלמנטים ספציפיים מה- TensorArray לתוך value הפלט.
תַקצִיר
כל האלמנטים שנבחרו על ידי indices חייבים להיות בעלי אותה צורה.
טיעונים:
- היקף: אובייקט היקף
- handle: ה- handle של TensorArray .
- אינדקסים: המיקומים ב- TensorArray שמהם יש לקרוא אלמנטים של טנזור.
- flow_in: סקלר צף שאוכף שרשור פעולות נכון.
- dtype: The type of the elem that is returned.
מאפיינים אופציונליים (ראה Attrs ):
- צורת_אלמנט: הצורה הצפויה של אלמנט, אם ידועה. משמש לאימות צורות האלמנטים של TensorArray . אם צורה זו אינה מוגדרת במלואה, איסוף TensorArrays בגודל אפס מהווה שגיאה.
החזרות:
-
Output: כל האלמנטים ב- TensorArray , משורשרים לאורך ציר חדש (המימד החדש 0).
בנאים והורסים | |
|---|---|
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) |
מאפיינים ציבוריים | |
|---|---|
operation | |
value | |
תפקידים ציבוריים | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
פונקציות סטטיות ציבוריות | |
|---|---|
ElementShape (PartialTensorShape x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: TensorArrayGather:: Attrs | קובעי מאפיינים אופציונליים עבור TensorArrayGather . |
מאפיינים ציבוריים
מִבצָע
Operation operation
עֵרֶך
::tensorflow::Output value
תפקידים ציבוריים
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 )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
ElementShape
Attrs ElementShape( PartialTensorShape x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]