Probability distributions - torch.distributions
.. automodule:: torch.distributions
.. currentmodule:: torch.distributions
.. currentmodule:: torch.distributions.distribution
.. autoclass:: Distribution
:members:
:show-inheritance:
.. currentmodule:: torch.distributions.exp_family
.. autoclass:: ExponentialFamily
:members:
:show-inheritance:
.. currentmodule:: torch.distributions.bernoulli
.. autoclass:: Bernoulli
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.beta
.. autoclass:: Beta
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.binomial
.. autoclass:: Binomial
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.categorical
.. autoclass:: Categorical
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.cauchy
.. autoclass:: Cauchy
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.chi2
.. autoclass:: Chi2
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.continuous_bernoulli
.. autoclass:: ContinuousBernoulli
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.dirichlet
.. autoclass:: Dirichlet
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.exponential
.. autoclass:: Exponential
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.fishersnedecor
.. autoclass:: FisherSnedecor
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.gamma
.. autoclass:: Gamma
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.geometric
.. autoclass:: Geometric
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.gumbel
.. autoclass:: Gumbel
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.half_cauchy
.. autoclass:: HalfCauchy
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.half_normal
.. autoclass:: HalfNormal
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.independent
.. autoclass:: Independent
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.inverse_gamma
.. autoclass:: InverseGamma
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.kumaraswamy
.. autoclass:: Kumaraswamy
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.lkj_cholesky
.. autoclass:: LKJCholesky
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.laplace
.. autoclass:: Laplace
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.log_normal
.. autoclass:: LogNormal
:members:
:undoc-members:
:show-inheritance:
LowRankMultivariateNormal
.. currentmodule:: torch.distributions.lowrank_multivariate_normal
.. autoclass:: LowRankMultivariateNormal
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.mixture_same_family
.. autoclass:: MixtureSameFamily
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.multinomial
.. autoclass:: Multinomial
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.multivariate_normal
.. autoclass:: MultivariateNormal
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.negative_binomial
.. autoclass:: NegativeBinomial
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.normal
.. autoclass:: Normal
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.one_hot_categorical
.. autoclass:: OneHotCategorical
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.pareto
.. autoclass:: Pareto
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.poisson
.. autoclass:: Poisson
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.relaxed_bernoulli
.. autoclass:: RelaxedBernoulli
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.relaxed_bernoulli
.. autoclass:: LogitRelaxedBernoulli
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.relaxed_categorical
.. autoclass:: RelaxedOneHotCategorical
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.studentT
.. autoclass:: StudentT
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.transformed_distribution
.. autoclass:: TransformedDistribution
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.uniform
.. autoclass:: Uniform
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.von_mises
.. autoclass:: VonMises
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.weibull
.. autoclass:: Weibull
:members:
:undoc-members:
:show-inheritance:
.. currentmodule:: torch.distributions.wishart
.. autoclass:: Wishart
:members:
:undoc-members:
:show-inheritance:
.. automodule:: torch.distributions.kl
.. currentmodule:: torch.distributions.kl
.. autofunction:: kl_divergence
.. autofunction:: register_kl
.. automodule:: torch.distributions.transforms
:members:
:member-order: bysource
.. automodule:: torch.distributions.constraints
:members:
:member-order: bysource
.. automodule:: torch.distributions.constraint_registry
:members:
:member-order: bysource
.. py:module:: torch.distributions.bernoulli
.. py:module:: torch.distributions.beta
.. py:module:: torch.distributions.binomial
.. py:module:: torch.distributions.categorical
.. py:module:: torch.distributions.cauchy
.. py:module:: torch.distributions.chi2
.. py:module:: torch.distributions.continuous_bernoulli
.. py:module:: torch.distributions.dirichlet
.. py:module:: torch.distributions.distribution
.. py:module:: torch.distributions.exp_family
.. py:module:: torch.distributions.exponential
.. py:module:: torch.distributions.fishersnedecor
.. py:module:: torch.distributions.gamma
.. py:module:: torch.distributions.geometric
.. py:module:: torch.distributions.gumbel
.. py:module:: torch.distributions.half_cauchy
.. py:module:: torch.distributions.half_normal
.. py:module:: torch.distributions.independent
.. py:module:: torch.distributions.inverse_gamma
.. py:module:: torch.distributions.kumaraswamy
.. py:module:: torch.distributions.laplace
.. py:module:: torch.distributions.lkj_cholesky
.. py:module:: torch.distributions.log_normal
.. py:module:: torch.distributions.logistic_normal
.. py:module:: torch.distributions.lowrank_multivariate_normal
.. py:module:: torch.distributions.mixture_same_family
.. py:module:: torch.distributions.multinomial
.. py:module:: torch.distributions.multivariate_normal
.. py:module:: torch.distributions.negative_binomial
.. py:module:: torch.distributions.normal
.. py:module:: torch.distributions.one_hot_categorical
.. py:module:: torch.distributions.pareto
.. py:module:: torch.distributions.poisson
.. py:module:: torch.distributions.relaxed_bernoulli
.. py:module:: torch.distributions.relaxed_categorical
.. py:module:: torch.distributions.studentT
.. py:module:: torch.distributions.transformed_distribution
.. py:module:: torch.distributions.uniform
.. py:module:: torch.distributions.utils
.. py:module:: torch.distributions.von_mises
.. py:module:: torch.distributions.weibull
.. py:module:: torch.distributions.wishart