컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: BarrierTakeMany:: 속성
#include <data_flow_ops.h>
BarrierTakeMany 에 대한 선택적 속성 설정자입니다.
요약
공개 속성
허용_소형_배치_
bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false
timeout_ms_
int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1
wait_for_incomplete_
bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false
공공 기능
작은 배치 허용
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch(
bool x
)
장벽이 이미 닫힌 경우 num_elements개 미만의 항목을 반환하도록 허용합니다.
기본값은 false입니다.
시간 초과(Ms)
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs(
int64 x
)
대기열이 비어 있으면 이 작업은 최대 timeout_ms 밀리초 동안 차단됩니다.
참고: 이 옵션은 아직 지원되지 않습니다.
기본값은 -1입니다.
미완료 대기
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete(
bool x
)
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[],[],null,["# tensorflow::ops::BarrierTakeMany::Attrs Struct Reference\n\ntensorflow::ops::BarrierTakeMany::Attrs\n=======================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [BarrierTakeMany](/versions/r2.1/api_docs/cc/class/tensorflow/ops/barrier-take-many#classtensorflow_1_1ops_1_1_barrier_take_many).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------|---------|\n| [allow_small_batch_](#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs_1a34d07b8141f8932782c1220bf109b30a)` = false` | `bool` |\n| [timeout_ms_](#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs_1a2f4ea01b5e1dd39701b7fd0074f6ce54)` = -1` | `int64` |\n| [wait_for_incomplete_](#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs_1ab4e44ba0532a127592c8b8a94c33a241)` = false` | `bool` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AllowSmallBatch](#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs_1a9dda1e0280b99640abb644c2c60580b3)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/barrier-take-many/attrs#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs) Allow to return less than num_elements items if barrier is already closed. |\n| [TimeoutMs](#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs_1ab19897a86851468f208b286733203b47)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/barrier-take-many/attrs#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs) If the queue is empty, this operation will block for up to timeout_ms milliseconds. |\n| [WaitForIncomplete](#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs_1a8188671d9e2e1a4791ab4c99fbce732b)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/barrier-take-many/attrs#structtensorflow_1_1ops_1_1_barrier_take_many_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### allow_small_batch_\n\n```scdoc\nbool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false\n``` \n\n### timeout_ms_\n\n```scdoc\nint64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1\n``` \n\n### wait_for_incomplete_\n\n```scdoc\nbool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false\n``` \n\nPublic functions\n----------------\n\n### AllowSmallBatch\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch(\n bool x\n)\n``` \nAllow to return less than num_elements items if barrier is already closed.\n\nDefaults to false \n\n### TimeoutMs\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::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 \n\n### WaitForIncomplete\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete(\n bool x\n)\n``` \nDefaults to false."]]