ray.rllib.models.distributions.Distribution.entropy#

abstract Distribution.entropy(**kwargs) numpy.array | jnp.ndarray | tf.Tensor | torch.Tensor[source]#

The entropy of the distribution.

Parameters:

**kwargs – Forward compatibility placeholder.

Returns:

The entropy of the distribution.