tensorflow:: אופס:: תור סגור
#include <data_flow_ops.h>
סוגר את התור הנתון.
תַקצִיר
פעולה זו מסמנת שלא יעמדו יותר אלמנטים בתור הנתון. פעולות ה-Enqueue (רבות) עוקבות ייכשלו. פעולות של Dequeue (Many) עוקבות ימשיכו להצליח אם יישארו מספיק אלמנטים בתור. פעולות הבאות של Dequeue (Many) שייחסמו ייכשלו באופן מיידי.
טיעונים:
- scope: אובייקט Scope
- ידית: הידית לתור.
מאפיינים אופציונליים (ראה Attrs
):
- cancel_pending_enqueues: אם נכון, כל בקשות התור הממתינות החסומות בתור הנתון יבוטלו.
החזרות:
-
Operation
שנוצר
בנאים והורסים | |
---|---|
QueueClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle) | |
QueueClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, const QueueClose::Attrs & attrs) |
תפקידים ציבוריים | |
---|---|
operator::tensorflow::Operation () const |
פונקציות סטטיות ציבוריות | |
---|---|
CancelPendingEnqueues (bool x) |
מבנים | |
---|---|
tensorflow:: ops:: QueueClose:: Attrs | קובעי תכונות אופציונליים עבור QueueClose . |
תכונות ציבוריות
מִבצָע
Operation operation
תפקידים ציבוריים
תור סגור
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
תור סגור
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const QueueClose::Attrs & attrs )
אופרטור::tensorflow::פעולה
operator::tensorflow::Operation() const
פונקציות סטטיות ציבוריות
בטל תורים בהמתנה
Attrs CancelPendingEnqueues( bool x )