টেনসরফ্লো :: অপস:: অগ্রাধিকার সারি

#include <data_flow_ops.h>

একটি সারি যা প্রথম উপাদানের মান অনুসারে সাজানো উপাদান তৈরি করে।

সারসংক্ষেপ

উল্লেখ্য যে PriorityQueue-এর জন্য component_types দ্বারা ঘোষিত অন্যান্য উপাদানের পাশাপাশি যেকোনো উপাদানের প্রথম উপাদানটিকে একটি স্কেলার int64 হতে হবে। তাই অগ্রাধিকার সারিতে Enqueue এবং EnqueueMany (resp. Dequeue এবং DequeueMany) কল করার জন্য তাদের ইনপুট (resp. আউটপুট) তালিকায় একটি অতিরিক্ত এন্ট্রির প্রয়োজন হবে (resp. output)।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • আকার: একটি মানের প্রতিটি উপাদানের আকৃতি। এই attr-এর দৈর্ঘ্য অবশ্যই 0 বা component_types-এর দৈর্ঘ্যের সমান হতে হবে। যদি এই attr-এর দৈর্ঘ্য 0 হয়, তাহলে সারির উপাদানগুলির আকার সীমাবদ্ধ থাকে না এবং একটি সময়ে শুধুমাত্র একটি উপাদান সারিবদ্ধ হতে পারে।

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

  • component_types: একটি মানের প্রতিটি উপাদানের ধরন।
  • ক্ষমতা: এই সারিতে থাকা উপাদানের সংখ্যার উপরের সীমা। নেতিবাচক সংখ্যা মানে কোন সীমা.
  • ধারক: খালি না হলে, এই সারিটি প্রদত্ত পাত্রে স্থাপন করা হয়। অন্যথায়, একটি ডিফল্ট ধারক ব্যবহার করা হয়।
  • shared_name: খালি না থাকলে, এই সারিটি একাধিক সেশনে প্রদত্ত নামের অধীনে ভাগ করা হবে।

রিটার্ন:

  • Output : সারিতে হ্যান্ডেল।

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

PriorityQueue (const :: tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes)
PriorityQueue (const :: tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes, const PriorityQueue::Attrs & attrs)

পাবলিক বৈশিষ্ট্য

handle
operation

পাবলিক ফাংশন

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

পাবলিক স্ট্যাটিক ফাংশন

Capacity (int64 x)
ComponentTypes (const DataTypeSlice & x)
Container (StringPiece x)
SharedName (StringPiece x)

কাঠামো

tensorflow:: ops:: PriorityQueue:: Attrs

PriorityQueue- এর জন্য ঐচ্ছিক বৈশিষ্ট্য নির্ধারণকারী।

পাবলিক বৈশিষ্ট্য

হাতল

::tensorflow::Output handle

অপারেশন

Operation operation

পাবলিক ফাংশন

অগ্রাধিকার সারি

 PriorityQueue(
  const ::tensorflow::Scope & scope,
  const gtl::ArraySlice< PartialTensorShape > & shapes
)

অগ্রাধিকার সারি

 PriorityQueue(
  const ::tensorflow::Scope & scope,
  const gtl::ArraySlice< PartialTensorShape > & shapes,
  const PriorityQueue::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

অপারেটর::টেনসরফ্লো::ইনপুট

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

ক্ষমতা

Attrs Capacity(
  int64 x
)

কম্পোনেন্ট টাইপস

Attrs ComponentTypes(
  const DataTypeSlice & x
)

ধারক

Attrs Container(
  StringPiece x
)

শেয়ার করা নাম

Attrs SharedName(
  StringPiece x
)