tensorflow:: ops:: אקראי רגיל

#include <random_ops.h>

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

תַקצִיר

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

טיעונים:

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

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

  • seed: אם seed או seed2 מוגדרים כלא אפס, מחולל המספרים האקראיים נזרע על ידי ה-seed הנתון. אחרת, הוא נזרע על ידי 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
)