tensorflow:: ops:: מולטינומיאל:: אטרס

#include <random_ops.h>

קובעי תכונות אופציונליים עבור Multinomial .

תַקצִיר

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

output_dtype_ = DT_INT64
DataType
seed2_ = 0
int64
seed_ = 0
int64

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

OutputDtype (DataType x)
TF_MUST_USE_RESULT Attrs
ברירת המחדל היא DT_INT64.
Seed (int64 x)
TF_MUST_USE_RESULT Attrs
אם seed או seed2 מוגדרים כלא אפס, מחולל המספרים האקראיים הפנימי נזרע על ידי ה-seed הנתון.
Seed2 (int64 x)
TF_MUST_USE_RESULT Attrs
זרע שני כדי למנוע התנגשות זרעים.

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

פלט_dtype_

DataType tensorflow::ops::Multinomial::Attrs::output_dtype_ = DT_INT64

זרע2_

int64 tensorflow::ops::Multinomial::Attrs::seed2_ = 0

זֶרַע_

int64 tensorflow::ops::Multinomial::Attrs::seed_ = 0

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

סוג פלט

TF_MUST_USE_RESULT Attrs tensorflow::ops::Multinomial::Attrs::OutputDtype(
  DataType x
)

ברירת המחדל היא DT_INT64.

זֶרַע

TF_MUST_USE_RESULT Attrs tensorflow::ops::Multinomial::Attrs::Seed(
  int64 x
)

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

אחרת, משתמשים בזרע אקראי.

ברירת מחדל היא 0

זרע2

TF_MUST_USE_RESULT Attrs tensorflow::ops::Multinomial::Attrs::Seed2(
  int64 x
)

זרע שני כדי למנוע התנגשות זרעים.

ברירת מחדל היא 0