On this page
tensorflow::ops::RandomGamma::Attrs
#include <random_ops.h>
Optional attribute setters for RandomGamma.
Summary
Public functions | |
---|---|
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
seed2_
int64 tensorflow::ops::RandomGamma::Attrs::seed2_ = 0
seed_
int64 tensorflow::ops::RandomGamma::Attrs::seed_ = 0
Public functions
Seed
TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomGamma::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::RandomGamma::Attrs::Seed2(
int64 x
)
A second seed to avoid seed collision.
Defaults to 0
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/random-gamma/attrs