จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: คิวDequeue:: คุณสมบัติ
#include <data_flow_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ QueueDequeue
สรุป
งานสาธารณะ |
---|
TimeoutMs (int64 x) | หากคิวว่างเปล่า การดำเนินการนี้จะบล็อกเป็นเวลาสูงสุด timeout_ms มิลลิวินาที |
คุณลักษณะสาธารณะ
หมดเวลา_ms_
int64 tensorflow::ops::QueueDequeue::Attrs::timeout_ms_ = -1
งานสาธารณะ
หมดเวลาMs
TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueDequeue::Attrs::TimeoutMs(
int64 x
)
หากคิวว่างเปล่า การดำเนินการนี้จะบล็อกเป็นเวลาสูงสุด timeout_ms มิลลิวินาที
หมายเหตุ: ยังไม่รองรับตัวเลือกนี้
ค่าเริ่มต้นเป็น -1
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# tensorflow::ops::QueueDequeue::Attrs Struct Reference\n\ntensorflow::ops::QueueDequeue::Attrs\n====================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [QueueDequeue](/versions/r2.2/api_docs/cc/class/tensorflow/ops/queue-dequeue#classtensorflow_1_1ops_1_1_queue_dequeue).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------|---------|\n| [timeout_ms_](#structtensorflow_1_1ops_1_1_queue_dequeue_1_1_attrs_1aaee37b7d298921335443893778a85c2c)` = -1` | `int64` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [TimeoutMs](#structtensorflow_1_1ops_1_1_queue_dequeue_1_1_attrs_1ae5cae84de31d96ec00fa2c9d4b4684c0)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/queue-dequeue/attrs#structtensorflow_1_1ops_1_1_queue_dequeue_1_1_attrs) If the queue is empty, this operation will block for up to timeout_ms milliseconds. |\n\nPublic attributes\n-----------------\n\n### timeout_ms_\n\n```scdoc\nint64 tensorflow::ops::QueueDequeue::Attrs::timeout_ms_ = -1\n``` \n\nPublic functions\n----------------\n\n### TimeoutMs\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QueueDequeue::Attrs::TimeoutMs(\n int64 x\n)\n``` \nIf the queue is empty, this operation will block for up to timeout_ms milliseconds.\n\nNote: This option is not supported yet.\n\nDefaults to -1"]]