컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: 대기열DequeueUpTo:: 속성
#include <data_flow_ops.h>
QueueDequeueUpTo 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
TimeoutMs (int64 x) | 대기열에 n개 미만의 요소가 있는 경우 이 작업은 최대 timeout_ms 밀리초 동안 차단됩니다. |
공개 속성
timeout_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입니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]