Distribution¶
- class paddle.distribution. Distribution [source]
-
The abstract base class for probability distributions. Functions are implemented in specific distributions.
-
sample
(
)
sample¶
-
Sampling from the distribution.
-
entropy
(
)
entropy¶
-
The entropy of the distribution.
-
kl_divergence
(
other
)
kl_divergence¶
-
The KL-divergence between self distributions and other.
-
log_prob
(
value
)
log_prob¶
-
Log probability density/mass function.
-
probs
(
value
)
probs¶
-
Probability density/mass function.
-
sample
(
)