# Module: tf_agents.distributions

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/distributions/__init__.py) |

Distributions module.

## Modules

[`gumbel_softmax`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/distributions/gumbel_softmax) module: Gumbel_Softmax distribution classes.

[`masked`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/distributions/masked) module: Define distributions for spaces where not all actions are valid.

[`reparameterized_sampling`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/distributions/reparameterized_sampling) module: Helper function to do reparameterized sampling if the distributions supports it.

[`shifted_categorical`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/distributions/shifted_categorical) module: Categorical distribution where values are shifted to honor a range.

[`tanh_bijector_stable`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/distributions/tanh_bijector_stable) module: Tanh bijector.

[`utils`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/distributions/utils) module: Utilities related to distributions.