Google I/O returns May 18-20! Reserve space and build your schedule Register now

Module: tfp.substrates.numpy.random

TensorFlow Probability random samplers/utilities.


rademacher(...): Generates Tensor consisting of -1 or +1, chosen uniformly at random.

rayleigh(...): Generates Tensor of positive reals drawn from a Rayleigh distributions.

spherical_uniform(...): Generates Tensor drawn from a uniform distribution on the sphere.

split_seed(...): Splits a seed into n derived seeds.