Module: tf.random

Defined in tensorflow/_api/v1/random/__init__.py.

Public API for tf.random namespace.

Functions

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

get_seed(...): Returns the local seeds an operation should use given an op-specific seed.

log_uniform_candidate_sampler(...): Samples a set of classes using a log-uniform (Zipfian) base distribution.

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

normal(...): Outputs random values from a normal distribution.

poisson(...): Draws shape samples from each of the given Poisson distribution(s).

set_random_seed(...): Sets the graph-level random seed.

shuffle(...): Randomly shuffles a tensor along its first dimension.

truncated_normal(...): Outputs random values from a truncated normal distribution.

uniform(...): Outputs random values from a uniform distribution.

uniform_candidate_sampler(...): Samples a set of classes using a uniform base distribution.