tensorflow:: ops:: RandomUniform

#include <random_ops.h>

يُخرج قيمًا عشوائية من توزيع منتظم.

ملخص

تتبع القيم المُولَّدة توزيعًا منتظمًا في النطاق [0, 1) . الحد الأدنى 0 مُضمَّن في النطاق، بينما الحد الأعلى 1 مُستثنى.

الحجج:

  • النطاق: كائن النطاق
  • الشكل: شكل موتر الإخراج.
  • dtype: نوع المخرجات.

السمات الاختيارية (انظر Attrs ):

  • البذرة: إذا تم ضبط قيمة seed أو seed2 على قيمة غير صفرية، فسيتم تهيئة مولد الأرقام العشوائية باستخدام البذرة المعطاة. وإلا، فسيتم تهيئته باستخدام بذرة عشوائية.
  • seed2: بذرة ثانية لتجنب تصادم البذور.

المرتجعات:

  • 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

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

بذور

Attrs Seed(
  int64 x
)

البذرة 2

Attrs Seed2(
  int64 x
)