pymc.DensityDist.dist#
- classmethod DensityDist.dist(*dist_params, class_name, logp=None, logcdf=None, random=None, moment=None, ndim_supp=0, ndims_params=None, dtype='floatX', **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.
- **kwargs
Keyword arguments that will be forwarded to the Aesara RV Op. Most prominently:
sizeordtype.
- Returns
- rv
TensorVariable The created random variable tensor.
- rv