tensorflow:: אופס:: QueueDequeue:: Attrs
#include <data_flow_ops.h>
קובעי תכונות אופציונליים עבור QueueDequeue .
תַקצִיר
תכונות ציבוריות | |
---|---|
timeout_ms_ = -1 | int64 |
תפקידים ציבוריים | |
---|---|
TimeoutMs (int64 x) | TF_MUST_USE_RESULT Attrs אם התור ריק, פעולה זו תיחסם לעד timeout_ms אלפיות השנייה. |
תכונות ציבוריות
timeout_ms_
int64 tensorflow::ops::QueueDequeue::Attrs::timeout_ms_ = -1
תפקידים ציבוריים
TimeoutMs
TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueDequeue::Attrs::TimeoutMs( int64 x )
אם התור ריק, פעולה זו תיחסם לעד timeout_ms אלפיות השנייה.
הערה: אפשרות זו אינה נתמכת עדיין.
ברירת המחדל היא -1
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]