Creates a RNG state.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.random.experimental.create_rng_state
, `tf.compat.v2.random.experimental.create_rng_state`
tf.random.experimental.create_rng_state(
seed, algorithm
)
Args | |
---|---|
seed
|
an integer or 1-D tensor. |
algorithm
|
an integer representing the RNG algorithm. |
Returns | |
---|---|
a 1-D tensor whose size depends on the algorithm. |