সেন্সরফ্লো :: অপস :: কাটা নরমাল
#include <random_ops.h>
একটি কাটা সাধারণ বিতরণ থেকে এলোমেলো মানগুলি আউটপুট করে।
সারসংক্ষেপ
উত্পন্ন মানগুলি গড় 0 এবং স্ট্যান্ডার্ড বিচ্যুতি 1 সহ একটি সাধারণ বিতরণ অনুসরণ করে, এর মানগুলির দৈর্ঘ্যটি গড় থেকে 2 টিরও বেশি মানক বিচ্যুতি বাদ দেওয়া হয় এবং পুনরায় বাছাই করা হয়।
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- আকৃতি: আউটপুট সেন্সর আকার।
- dtype: আউটপুট টাইপ।
- বীজ: হয় তাহলে
seed
বাseed2
নন-জিরো করার জন্য সেট আছে, র্যান্ডম সংখ্যা উত্পাদক দেওয়া বীজ দ্বারা বীজযুক্ত করা হয়। অন্যথায়, এটি এলোমেলো বীজ দ্বারা বপন করা হয়। - বীজ 2: বীজের সংঘর্ষ এড়াতে দ্বিতীয় বীজ।
রিটার্নস:
-
Output
: এলোমেলোভাবে কাটা সাধারণ মানগুলিতে ভরা নির্দিষ্ট আকারের একটি সেন্সর।
নির্মাণকারী এবং ধ্বংসকারী | |
---|---|
TruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
TruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const TruncatedNormal::Attrs & attrs) |
জনসাধারণের গুণাবলী | |
---|---|
operation | |
output |
পাবলিক ফাংশন | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
পাবলিক স্ট্যাটিক ফাংশন | |
---|---|
Seed (int64 x) | |
Seed2 (int64 x) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপ্স :: ট্র্যাঙ্কেটেড নরমাল :: অ্যাটারস | ট্র্যাঙ্কেটেড নরমাল এর জন্য .চ্ছিক অ্যাট্রিবিউট সেটটার। |
জনসাধারণের গুণাবলী
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
পাবলিক ফাংশন
কাটা নরমাল
TruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
কাটা নরমাল
TruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const TruncatedNormal::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর :: টেনসরফ্লো :: ইনপুট
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
বীজ
Attrs Seed( int64 x )
বীজ 2
Attrs Seed2( int64 x )