টেনসরফ্লো :: অপস:: এলোমেলো ইউনিফর্ম

#include <random_ops.h>

একটি অভিন্ন বন্টন থেকে র‍্যান্ডম মান বের করে।

সারসংক্ষেপ

উত্পন্ন মানগুলি পরিসরে একটি অভিন্ন বন্টন অনুসরণ করে [0, 1) । নিম্ন আবদ্ধ 0 ব্যাপ্তির মধ্যে অন্তর্ভুক্ত করা হয়, যখন উপরের আবদ্ধ 1 বাদ দেওয়া হয়।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • আকৃতি: আউটপুট টেনসরের আকৃতি।
  • dtype: আউটপুটের ধরন।

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

  • বীজ: যদি seed বা seed2 অ-শূন্য সেট করা হয়, তাহলে প্রদত্ত বীজ দ্বারা এলোমেলো সংখ্যা জেনারেটর বীজ হয়। অন্যথায়, এটি একটি এলোমেলো বীজ দ্বারা বীজ হয়।
  • বীজ 2: বীজ সংঘর্ষ এড়াতে একটি দ্বিতীয় বীজ।

রিটার্ন:

  • Output : অভিন্ন এলোমেলো মান দিয়ে ভরা নির্দিষ্ট আকৃতির একটি টেনসর।

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

RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomUniform::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

Seed (int64 x)
Seed2 (int64 x)

কাঠামো

tensorflow:: ops:: RandomUniform:: Attrs

RandomUniform- এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

এলোমেলো ইউনিফর্ম

 RandomUniform(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

এলোমেলো ইউনিফর্ম

 RandomUniform(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const RandomUniform::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

বীজ

Attrs Seed(
  int64 x
)

বীজ২

Attrs Seed2(
  int64 x
)