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