/TensorFlow 2.4

Module: tf.random.experimental

Public API for tf.random.experimental namespace.


class Algorithm: An enumeration.

class Generator: Random-number generator.


create_rng_state(...): Creates a RNG state from an integer or a vector.

get_global_generator(...): Retrieves the global generator.

set_global_generator(...): Replaces the global generator with another Generator object.

stateless_fold_in(...): Folds in data to an RNG seed to form a new RNG seed.

stateless_split(...): Splits an RNG seed into num new seeds by adding a leading axis.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.