Distribution API#
Note
Ray 2.40 uses RLlib’s new API stack by default. The Ray team has mostly completed transitioning algorithms, example scripts, and documentation to the new code base.
If you’re still using the old API stack, see New API stack migration guide for details on how to migrate.
Base Distribution class#
The base class for distribution over a random variable. |
|
Creates a Distribution from logits. |
|
Draw a sample from the distribution. |
|
Draw a re-parameterized sample from the action distribution. |
|
The log-likelihood of the distribution computed at |
|
The KL-divergence between two distributions. |