tensorflow:: אופס:: QueueDequeueMany
#include <data_flow_ops.h>
מעביר n
tuples של טנסור אחד או יותר מהתור הנתון.
תַקצִיר
אם התור נסגר ויש פחות מ- n
אלמנטים, מוחזרת שגיאת OutOfRange.
פעולה זו משרשרת טנסורים של רכיבי תור לאורך הממד ה-0 כדי ליצור טנסור רכיב בודד. כל הרכיבים ב-tuple הממוקם בתור יהיו בגודל n
בממד 0.
לפעולה זו יש k
יציאות, כאשר k
הוא מספר הרכיבים ב-tuples המאוחסנים בתור הנתון, ו-output i
הוא הרכיב ה-ith של ה-tuple המותרת.
הערה אם התור ריק, פעולה זו תיחסם עד ש- n
אלמנטים יוסרו מהתור (או שחלף 'timeout_ms', אם צוין).
טיעונים:
- scope: אובייקט Scope
- ידית: הידית לתור.
- n: מספר tuples כדי לעמוד בתור.
- component_types: הסוג של כל רכיב ב-tuple.
מאפיינים אופציונליים (ראה Attrs
):
- timeout_ms: אם התור מכיל פחות מ-n אלמנטים, פעולה זו תחסום למשך עד timeout_ms אלפיות השנייה. הערה: אפשרות זו אינה נתמכת עדיין.
החזרות:
-
OutputList
: טנסור אחד או יותר שהוצאו בתור כטופל.
בנאים והורסים | |
---|---|
QueueDequeueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input n, const DataTypeSlice & component_types) | |
QueueDequeueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input n, const DataTypeSlice & component_types, const QueueDequeueMany::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
components | |
operation |
תפקידים ציבוריים | |
---|---|
operator[] (size_t index) const |
מבנים | |
---|---|
tensorflow:: ops:: QueueDequeueMany:: Attrs | קובעי תכונות אופציונליים עבור QueueDequeueMany . |
תכונות ציבוריות
רכיבים
::tensorflow::OutputList components
מִבצָע
Operation operation
תפקידים ציבוריים
QueueDequeueMany
QueueDequeueMany(
const ::tensorflow::Scope & scope,
::tensorflow::Input handle,
::tensorflow::Input n,
const DataTypeSlice & component_types
)
QueueDequeueMany
QueueDequeueMany(
const ::tensorflow::Scope & scope,
::tensorflow::Input handle,
::tensorflow::Input n,
const DataTypeSlice & component_types,
const QueueDequeueMany::Attrs & attrs
)
מַפעִיל[]
::tensorflow::Output operator[](
size_t index
) const
פונקציות סטטיות ציבוריות
TimeoutMs
Attrs TimeoutMs(
int64 x
)