tensorflow:: ops:: RandomPoissonV2:: Attrs
#include <random_ops.h>
Optional attribute setters for RandomPoissonV2.
Summary
Public attributes |
|
---|---|
dtype_ = DT_INT64
|
DataType
|
seed2_ = 0
|
int64
|
seed_ = 0
|
int64
|
Public functions |
|
---|---|
Dtype(DataType x)
|
TF_MUST_USE_RESULT Attrs
Defaults to DT_INT64.
|
Seed(int64 x)
|
TF_MUST_USE_RESULT Attrs
If either
seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. |
Seed2(int64 x)
|
TF_MUST_USE_RESULT Attrs
A second seed to avoid seed collision.
|
Public attributes
dtype_
DataType tensorflow::ops::RandomPoissonV2::Attrs::dtype_ = DT_INT64
seed2_
int64 tensorflow::ops::RandomPoissonV2::Attrs::seed2_ = 0
seed_
int64 tensorflow::ops::RandomPoissonV2::Attrs::seed_ = 0
Public functions
Dtype
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Dtype( DataType x )
Defaults to DT_INT64.
Seed
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Seed( int64 x )
If either seed
or seed2
are set to be non-zero, the random number generator is seeded by the given seed.
Otherwise, it is seeded by a random seed.
Defaults to 0
Seed2
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomPoissonV2::Attrs::Seed2( int64 x )
A second seed to avoid seed collision.
Defaults to 0