সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: ফিফো সারি
#include <data_flow_ops.h>
একটি সারি যা প্রথম-ইন-ফার্স্ট-আউট ক্রমে উপাদান তৈরি করে।
সারাংশ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- component_types: একটি মানের প্রতিটি উপাদানের ধরন।
ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs
):
- আকার: একটি মানের প্রতিটি উপাদানের আকৃতি। এই attr-এর দৈর্ঘ্য অবশ্যই 0 বা component_types-এর দৈর্ঘ্যের সমান হতে হবে। যদি এই attr-এর দৈর্ঘ্য 0 হয়, তাহলে সারির উপাদানগুলির আকার সীমাবদ্ধ থাকে না এবং একটি সময়ে শুধুমাত্র একটি উপাদান সারিবদ্ধ হতে পারে।
- ক্ষমতা: এই সারিতে থাকা উপাদানের সংখ্যার উপরের সীমা। নেতিবাচক সংখ্যা মানে কোন সীমা.
- ধারক: খালি না হলে, এই সারিটি প্রদত্ত পাত্রে স্থাপন করা হয়। অন্যথায়, একটি ডিফল্ট ধারক ব্যবহার করা হয়।
- shared_name: খালি না থাকলে, এই সারিটি একাধিক সেশনে প্রদত্ত নামের অধীনে ভাগ করা হবে।
রিটার্ন:
পাবলিক বৈশিষ্ট্য
পাবলিক ফাংশন
ফিফো সারি
FIFOQueue(
const ::tensorflow::Scope & scope,
const DataTypeSlice & component_types
)
নোড
::tensorflow::Node * node() const
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
ক্ষমতা
Attrs Capacity(
int64 x
)
ধারক
Attrs Container(
StringPiece x
)
আকৃতি
Attrs Shapes(
const gtl::ArraySlice< PartialTensorShape > & x
)
শেয়ার করা নাম
Attrs SharedName(
StringPiece x
)
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-27 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-27 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# tensorflow::ops::FIFOQueue Class Reference\n\ntensorflow::ops::FIFOQueue\n==========================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nA queue that produces elements in first-in first-out order.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- component_types: The type of each component in a value.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_f_i_f_o_queue_1_1_attrs)):\n\n- shapes: The shape of each component in a value. The length of this attr must be either 0 or the same as the length of component_types. If the length of this attr is 0, the shapes of queue elements are not constrained, and only one element may be dequeued at a time.\n- capacity: The upper bound on the number of elements in this queue. Negative numbers mean no limit.\n- container: If non-empty, this queue is placed in the given container. Otherwise, a default container is used.\n- shared_name: If non-empty, this queue will be shared under the given name across multiple sessions.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The handle to the queue.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [FIFOQueue](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a1c4179dc27fa96d5281e93d9a3338692)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const DataTypeSlice & component_types)` ||\n| [FIFOQueue](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1ac34f4b514c9af822272c71feb7f677b5)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const DataTypeSlice & component_types, const `[FIFOQueue::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_f_i_f_o_queue_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [handle](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a278c966891168437dc2427d0153e906b) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a5d87d19659d81485f7640003da0178a4) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a66ea9cbb97c7e62c6aa576004425cdb4)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1aa5121be97faefda41b54364feaa448b1)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a2b012663c6c3edc28889f5c65791f216)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [Capacity](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a9ebf2a962891d957c7e151de30bec6e1)`(int64 x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_f_i_f_o_queue_1_1_attrs) |\n| [Container](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a409f6e87e8cab1a1346f65c79692f7b1)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_f_i_f_o_queue_1_1_attrs) |\n| [Shapes](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a20662d0a789a4c8ebbad5f624937c20e)`(const gtl::ArraySlice\u003c PartialTensorShape \u003e & x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_f_i_f_o_queue_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_f_i_f_o_queue_1a47d8ebb6d1a6256e217e6878b87e8206)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_f_i_f_o_queue_1_1_attrs) |\n\n| ### Structs ||\n|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::FIFOQueue::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/f-i-f-o-queue/attrs) | Optional attribute setters for [FIFOQueue](/versions/r2.3/api_docs/cc/class/tensorflow/ops/f-i-f-o-queue#classtensorflow_1_1ops_1_1_f_i_f_o_queue). |\n\nPublic attributes\n-----------------\n\n### handle\n\n```text\n::tensorflow::Output handle\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### FIFOQueue\n\n```gdscript\n FIFOQueue(\n const ::tensorflow::Scope & scope,\n const DataTypeSlice & component_types\n)\n``` \n\n### FIFOQueue\n\n```gdscript\n FIFOQueue(\n const ::tensorflow::Scope & scope,\n const DataTypeSlice & component_types,\n const FIFOQueue::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### Capacity\n\n```text\nAttrs Capacity(\n int64 x\n)\n``` \n\n### Container\n\n```text\nAttrs Container(\n StringPiece x\n)\n``` \n\n### Shapes\n\n```gdscript\nAttrs Shapes(\n const gtl::ArraySlice\u003c PartialTensorShape \u003e & x\n)\n``` \n\n### SharedName\n\n```text\nAttrs SharedName(\n StringPiece x\n)\n```"]]