Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: QueueDequeueUpTo:: Öznitelikler
#include <data_flow_ops.h>
QueueDequeueUpTo için isteğe bağlı öznitelik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
TimeoutMs (int64 x) | Kuyrukta n'den az öğe varsa, bu işlem timeout_ms milisaniyeye kadar engelleyecektir. |
Genel özellikler
timeout_ms_
int64 tensorflow::ops::QueueDequeueUpTo::Attrs::timeout_ms_ = -1
Kamu işlevleri
Zaman aşımıMs
TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueDequeueUpTo::Attrs::TimeoutMs(
int64 x
)
Kuyrukta n'den az öğe varsa, bu işlem timeout_ms milisaniyeye kadar engelleyecektir.
Not: Bu seçenek henüz desteklenmemektedir.
Varsayılan -1'dir
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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"]]