pymc.Uniform.dist — PyMC 5.22.0 documentation (original) (raw)
- API
- pymc.Uniform
- pymc.Uniform.dist
classmethod Uniform.dist(lower=0, upper=1, **kwargs)[source]#
Create a tensor variable corresponding to the cls distribution.
Parameters:
dist_paramsarray_like
The inputs to the RandomVariable Op.
shapeint, tuple, Variable
, optional
A tuple of sizes for each dimension of the new RV.
**kwargs
Keyword arguments that will be forwarded to the PyTensor RV Op. Most prominently: size
or dtype
.
Returns:
The created random variable tensor.