tensorflow:: אופס:: אקראי רגיל

#include <random_ops.h>

מוציא ערכים אקראיים מהתפלגות נורמלית.

סיכום

לערכים שנוצרו יהיו ממוצע 0 וסטיית תקן 1.

טיעונים:

  • scope: אובייקט Scope
  • צורה: צורת טנסור הפלט.
  • dtype: סוג הפלט.

מאפיינים אופציונליים (ראה Attrs ):

  • seed: אם seed או seed2 מוגדרים כלא-אפס, מחולל המספרים האקראיים מוזרע על ידי ה-seed הנתון. אחרת, הוא נזרע על ידי זרע אקראי.
  • 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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

אקראי רגיל

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

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

זֶרַע

Attrs Seed(
  int64 x
)

זרע 2

Attrs Seed2(
  int64 x
)