Save the date! Google I/O returns May 18-20 Register now


Computes total entropy of distribution.

distributions A possibly batched tuple of distributions.
action_spec A nested tuple representing the action spec.

A Tensor representing the entropy of each distribution in the batch. Assumes actions are independent, so that marginal entropies of each action may be summed.