ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

Module: tf.compat.v1.random.experimental

TensorFlow 1 version

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.