<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/random/__init__.py) |

TensorFlow Probability random samplers/utilities.

## Functions

[`rademacher(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/random/rademacher): Generates `Tensor` consisting of `-1` or `+1`, chosen uniformly at random.

[`rayleigh(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/random/rayleigh): Generates `Tensor` of positive reals drawn from a Rayleigh distributions.

[`sanitize_seed(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/random/sanitize_seed): Map various PRNG seed flavors to a seed `Tensor`.

[`spherical_uniform(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/random/spherical_uniform): Generates `Tensor` drawn from a uniform distribution on the sphere.

[`split_seed(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/random/split_seed): Splits a seed into `n` derived seeds.