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) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
מבנים | |
---|---|
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
)