tensorflow:: אופס:: מולטינום:: Attrs

#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
זרע שני כדי למנוע התנגשות זרע.

תכונות ציבוריות

output_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

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

OutputDtype

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