Module: tf.compat.v1.random

Public API for tf.random namespace.

Modules

experimental module: Public API for tf.random.experimental namespace.

Classes

class Algorithm: An enumeration.

class Generator: Random-number generator.

Functions

all_candidate_sampler(...): Generate the set of all classes.

categorical(...): Draws samples from a categorical distribution.

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

fixed_unigram_candidate_sampler(...): Samples a set of classes using the provided (fixed) base distribution.

gamma(...): Draws shape samples from each of the given Gamma distribution(s).

get_global_generator(...)