mxnet.gluon.probability.distributions.independent¶
Independent class.
Classes
|
Reinterprets some collection of independent, non-identical distributions as a single multivariate random variable (convert some batch_dim to event_dim). |
- class mxnet.gluon.probability.distributions.independent.Independent(base_distribution, reinterpreted_batch_ndims, validate_args=None)[source]¶
Bases:
DistributionReinterprets some collection of independent, non-identical distributions as a single multivariate random variable (convert some batch_dim to event_dim).
- broadcast_to(batch_shape)[source]¶
Returns a new distribution instance with parameters expanded to batch_shape. This method calls numpy.broadcast_to on the parameters.
- Parameters:
batch_shape (Tuple) – The batch shape of the desired distribution.
- enumerate_support()[source]¶
Returns a tensor that contains all values supported by a discrete distribution.
- property has_enumerate_support¶
bool(x) -> bool
Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.
- log_prob(value)[source]¶
Returns the log of the probability density/mass function evaluated at value.
- property mean¶
Returns the mean of the distribution.
- property support¶
Returns a function representing the distribution’s support.
- property variance¶
Returns the variance of the distribution.