Probability Distributions

Chainer provides many Distribution implementations in the chainer.distributions package.

Distributions

chainer.distributions.Normal Normal Distribution.

Functionals of distribution

chainer.cross_entropy Computes Cross entropy.
chainer.kl_divergence Computes Kullback-Leibler divergence.
chainer.register_kl Decorator to register KL divergence function.

Base classes

chainer.Distribution Interface of Distribution