- classmethod Discrete.dist(dist_params, *, shape=None, **kwargs)#
Creates a tensor variable corresponding to the cls distribution.
The inputs to the RandomVariable Op.
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.
Keyword arguments that will be forwarded to the Aesara RV Op. Most prominently:
The created random variable tensor.