pymc.Uniform.dist#
- classmethod Uniform.dist(lower=0, upper=1, **kwargs)[source]#
Creates a tensor variable corresponding to the cls distribution.
- Parameters
- dist_paramsarray_like
The inputs to the RandomVariable Op.
- shape
int
,tuple
,Variable
, optional A tuple of sizes for each dimension of the new RV.
An Ellipsis (…) may be inserted in the last position to short-hand refer to all the dimensions that the RV would get if no shape/size/dims were passed at all.
- **kwargs
Keyword arguments that will be forwarded to the Aesara RV Op. Most prominently:
size
ordtype
.
- Returns
- rv
TensorVariable
The created random variable tensor.
- rv