Distribution

class paddle.distribution. Distribution [source]

The abstract base class for probability distributions. Functions are implemented in specific distributions.

sample ( )

Sampling from the distribution.

entropy ( )

The entropy of the distribution.

kl_divergence ( other )

The KL-divergence between self distributions and other.

log_prob ( value )

Log probability density/mass function.

probs ( value )

Probability density/mass function.