tensorflow:: ops:: RandomNormal

#include <random_ops.h>

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

ملخص

ستكون القيم المُولَّدة ذات متوسط ​​0 وانحراف معياري 1.

الحجج:

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

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

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

المرتجعات:

  • Output : موتر بالشكل المحدد مملوء بقيم طبيعية عشوائية.

البناة والمدمرون

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

السمات العامة

operation
output

الوظائف العامة

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

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

Seed (int64 x)
Seed2 (int64 x)

الهياكل

tensorflow:: ops:: RandomNormal:: Attrs

مُعدِّلات السمات الاختيارية لـ RandomNormal .

السمات العامة

عملية

Operation operation

المخرجات

::tensorflow::Output output

الوظائف العامة

RandomNormal

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

RandomNormal

 RandomNormal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const RandomNormal::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
)