সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: BarrierTakeMany:: Attrs
#include <data_flow_ops.h>
BarrierTakeMany- এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।
সারাংশ
পাবলিক ফাংশন |
---|
AllowSmallBatch (bool x) | বাধা ইতিমধ্যে বন্ধ থাকলে num_elements আইটেম থেকে কম ফেরত দেওয়ার অনুমতি দিন। |
TimeoutMs (int64 x) | সারি খালি থাকলে, এই ক্রিয়াকলাপটি টাইমআউট_এমএস মিলিসেকেন্ড পর্যন্ত অবরুদ্ধ করবে। |
WaitForIncomplete (bool x) | ডিফল্ট থেকে মিথ্যা. |
পাবলিক বৈশিষ্ট্য
অনুমতি_ছোট_ব্যাচ_
bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false
সময়সীমা_মিসে_
int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1
অপেক্ষা_অসম্পূর্ণ_এর জন্য
bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false
পাবলিক ফাংশন
SmallBatch অনুমতি দিন
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch(
bool x
)
বাধা ইতিমধ্যে বন্ধ থাকলে num_elements আইটেম থেকে কম ফেরত দেওয়ার অনুমতি দিন।
ডিফল্ট থেকে মিথ্যা
সময়সীমা
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs(
int64 x
)
সারি খালি থাকলে, এই ক্রিয়াকলাপটি টাইমআউট_এমএস মিলিসেকেন্ড পর্যন্ত অবরুদ্ধ করবে।
দ্রষ্টব্য: এই বিকল্পটি এখনও সমর্থিত নয়।
ডিফল্ট -1
WaitForIncomplete
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete(
bool x
)
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল 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.2/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.2/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.2/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.2/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."]]