mxnet.gluon.probability.distributions.uniform¶
Uniform distribution
Classes
|
Create a uniform distribution object. |
- class mxnet.gluon.probability.distributions.uniform.Uniform(low=0.0, high=1.0, validate_args=None)[source]¶
Bases:
DistributionCreate a uniform distribution object.
- Parameters:
low (Tensor or scalar, default 0) – lower range of the distribution.
high (Tensor or scalar, default 1) – upper range of the distribution.
- 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.
- log_prob(value)[source]¶
Returns the log of the probability density/mass function evaluated at value.
- property support¶
Returns a function representing the distribution’s support.