property mode
property precision_matrix
rsample(sample_shape=torch.Size([]))
property scale_tril
support = IndependentConstraint(Real(), 1)
property variance
MixtureSameFamily
class torch.distributions.mixture_same_family.MixtureSameFamily(mixture_distribution, component_distribution, validate_args=None)
Bases: "Distribution"
The MixtureSameFamily distribution implements a (batch of)
   mixture distribution where all component are from different
   parameterizations of the same distribution type. It is
   parameterized by a Categorical "selecting distribution" (over k
   component) and a component distribution, i.e., a Distribution
   with a rightmost batch shape (equal to [k]) which indexes each
   (batch of) component.
Examples:
  >>> # Construct Gaussian Mixture Model in 1D consisting of 5 equally
  >>> # weighted normal distributions
  >>> mix = D.Categorical(torch.ones(5,))
