tensorflow:: ops:: פרמטריזציה קטומה רגילה

#include <random_ops.h>

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

תַקצִיר

הפרמטרים יכולים להיות כל אחד

סקלרי שחל על כל הפלט, או וקטור בעל אורך צורה[0] שמאחסן את הפרמטרים עבור כל אצווה.

טיעונים:

  • היקף: אובייקט היקף
  • צורה: צורת טנזור הפלט. קבוצות מאונדקסות לפי הממד ה-0.
  • ממוצעים: הפרמטר הממוצע של כל אצווה.
  • stdevs: פרמטר סטיית התקן של כל אצווה. חייב להיות גדול מ-0.
  • minvals: ערך החיתוך המינימלי. יכול להיות -infinity.
  • maxvals: ערך החיתוך המקסימלי. יכול להיות +infinity, וחייב להיות גדול מהערך המינימלי עבור כל אצווה.

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

  • seed: אם seed או seed2 מוגדרים כלא אפס, מחולל המספרים האקראיים נזרע על ידי ה-seed הנתון. אחרת, הוא נזרע על ידי seed אקראי.
  • seed2: זרע שני כדי למנוע התנגשות זרעים.

החזרות:

  • Output : מטריצה ​​של צורה num_batches x samples_per_batch, מלאה בערכים נורמליים קטומים אקראיים באמצעות הפרמטרים עבור כל שורה.

בנאים והורסים

ParameterizedTruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input means, :: tensorflow::Input stdevs, :: tensorflow::Input minvals, :: tensorflow::Input maxvals)
ParameterizedTruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input means, :: tensorflow::Input stdevs, :: tensorflow::Input minvals, :: tensorflow::Input maxvals, const ParameterizedTruncatedNormal::Attrs & attrs)

מאפיינים ציבוריים

operation
output

תפקידים ציבוריים

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

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

Seed (int64 x)
Seed2 (int64 x)

מבנים

tensorflow:: ops:: פרמטריזציה חתוכה רגילה:: Attrs

קובעי מאפיינים אופציונליים עבור ParameterizedTruncatedNormal .

מאפיינים ציבוריים

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

קטעים רגילים

 ParameterizedTruncatedNormal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  ::tensorflow::Input means,
  ::tensorflow::Input stdevs,
  ::tensorflow::Input minvals,
  ::tensorflow::Input maxvals
)

קטעים רגילים

 ParameterizedTruncatedNormal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  ::tensorflow::Input means,
  ::tensorflow::Input stdevs,
  ::tensorflow::Input minvals,
  ::tensorflow::Input maxvals,
  const ParameterizedTruncatedNormal::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
)