tensorflow::ops::QueueClose
#include <data_flow_ops.h>ปิดคิวที่กำหนดไว้
สรุป
การดำเนินการนี้เป็นการส่งสัญญาณว่า จะไม่มีการเพิ่มองค์ประกอบใดๆ ลงในคิวที่กำหนดอีกต่อไป การดำเนินการ Enqueue(Many) ครั้งต่อไปจะล้มเหลว การดำเนินการ Dequeue(Many) ครั้งต่อไปจะยังคงสำเร็จหากยังมีองค์ประกอบเหลืออยู่ในคิวเพียงพอ การดำเนินการ Dequeue(Many) ครั้งต่อไปที่ทำให้เกิดการบล็อกจะล้มเหลวทันที
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- handle: ส่วนหัวของคิว
คุณลักษณะเสริม (ดูที่ 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) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
หน้าที่สาธารณะ | |
|---|---|
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 )
ตัวดำเนินการ::เทนเซอร์โฟลว์::การดำเนินการ
operator::tensorflow::Operation() const
ฟังก์ชันคงที่สาธารณะ
ยกเลิกคิวที่รอดำเนินการ
Attrs CancelPendingEnqueues( bool x )