![]() |
Creates a 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. |
CARVIEW |
![]() |
Creates a RNG state.
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.