tensorflow:: ops:: Multinomial
#include <random_ops.h>একটি মাল্টিনোমিয়াল ডিস্ট্রিবিউশন থেকে স্যাম্পল সংগ্রহ করা হয়।
সারসংক্ষেপ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- লজিটস:
[batch_size, num_classes]আকারের একটি দ্বি-মাত্রিক টেনসর । এর প্রতিটি স্লাইস[i, :]সমস্ত ক্লাসের জন্য অ-স্বাভাবিকীকৃত লগ সম্ভাব্যতাকে উপস্থাপন করে। - num_samples: 0-D. প্রতিটি সারি স্লাইসের জন্য নির্বাচিত স্বাধীন নমুনার সংখ্যা।
ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):
- সিড: যদি সিড অথবা সিড২-এর মান অশূন্য হয়, তাহলে অভ্যন্তরীণ র্যান্ডম নম্বর জেনারেটরটি প্রদত্ত সিড দ্বারা চালিত হয়। অন্যথায়, একটি র্যান্ডম সিড ব্যবহৃত হয়।
- seed2: সিড সংঘর্ষ এড়ানোর জন্য একটি দ্বিতীয় সিড।
ফেরত:
-
Output:[batch_size, num_samples]আকারের একটি দ্বি-মাত্রিক টেনসর । প্রতিটি স্লাইস[i, :]তে[0, num_classes)পরিসরের মধ্যে অঙ্কিত শ্রেণি লেবেলগুলো থাকে।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
Multinomial (const :: tensorflow::Scope & scope, :: tensorflow::Input logits, :: tensorflow::Input num_samples) | |
Multinomial (const :: tensorflow::Scope & scope, :: tensorflow::Input logits, :: tensorflow::Input num_samples, const Multinomial::Attrs & attrs) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
output | |
জনসাধারণের কার্যাবলী | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
OutputDtype (DataType x) | |
Seed (int64 x) | |
Seed2 (int64 x) | |
কাঠামো | |
|---|---|
| tensorflow:: ops:: Multinomial:: Attrs | মাল্টিনোমিয়ালের জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
জনসাধারণের কার্যাবলী
বহুপদী
Multinomial( const ::tensorflow::Scope & scope, ::tensorflow::Input logits, ::tensorflow::Input num_samples )
বহুপদী
Multinomial( const ::tensorflow::Scope & scope, ::tensorflow::Input logits, ::tensorflow::Input num_samples, const Multinomial::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
আউটপুটডিটাইপ
Attrs OutputDtype( DataType x )
বীজ
Attrs Seed( int64 x )
বীজ২
Attrs Seed2( int64 x )