tensorflow:: ops:: RandomUniform

#include <random_ops.h>

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

תַקצִיר

הערכים שנוצרו עוקבים אחר התפלגות אחידה בטווח [0, 1) . הגבול התחתון 0 כלול בטווח, בעוד שהגבול העליון 1 אינו נכלל.

טיעונים:

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

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

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

החזרות:

  • Output : טנזור בעל הצורה שצוינה, מלא בערכים אקראיים אחידים.

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

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

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

operation
output

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

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

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

Seed (int64 x)
Seed2 (int64 x)

מבנים

tensorflow:: ops:: RandomUniform:: Attrs

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

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

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

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

אקראימדי

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

אקראימדי

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