จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: คิวเข้าคิวหลายคน:: คุณสมบัติ
#include <data_flow_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ QueueEnqueueMany
สรุป
งานสาธารณะ |
---|
TimeoutMs (int64 x) | หากคิวเต็มเกินไป การดำเนินการนี้จะบล็อกเป็นเวลาสูงสุด timeout_ms มิลลิวินาที |
คุณลักษณะสาธารณะ
หมดเวลา_ms_
int64 tensorflow::ops::QueueEnqueueMany::Attrs::timeout_ms_ = -1
งานสาธารณะ
หมดเวลาMs
TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueEnqueueMany::Attrs::TimeoutMs(
int64 x
)
หากคิวเต็มเกินไป การดำเนินการนี้จะบล็อกเป็นเวลาสูงสุด 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::QueueEnqueueMany::Attrs Struct Reference\n\ntensorflow::ops::QueueEnqueueMany::Attrs\n========================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [QueueEnqueueMany](/versions/r1.15/api_docs/cc/class/tensorflow/ops/queue-enqueue-many#classtensorflow_1_1ops_1_1_queue_enqueue_many).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|---------|\n| [timeout_ms_](#structtensorflow_1_1ops_1_1_queue_enqueue_many_1_1_attrs_1aa2ce27a4dfe0e1b98321e5d4e46c33c6)` = -1` | `int64` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [TimeoutMs](#structtensorflow_1_1ops_1_1_queue_enqueue_many_1_1_attrs_1af7c89be412905efba3f4e231b5ed9204)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/queue-enqueue-many/attrs#structtensorflow_1_1ops_1_1_queue_enqueue_many_1_1_attrs) If the queue is too full, this operation will block for up to timeout_ms milliseconds. |\n\nPublic attributes\n-----------------\n\n### timeout_ms_\n\n```scdoc\nint64 tensorflow::ops::QueueEnqueueMany::Attrs::timeout_ms_ = -1\n``` \n\nPublic functions\n----------------\n\n### TimeoutMs\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QueueEnqueueMany::Attrs::TimeoutMs(\n int64 x\n)\n``` \nIf the queue is too full, this operation will block for up to timeout_ms milliseconds.\n\nNote: This option is not supported yet.\n\nDefaults to -1"]]