ContContract.dist#
- classmethod ContContract.dist(lam, p, T, **kwargs)[source]#
Creates a tensor variable corresponding to the
clsdistribution.- Parameters:
- dist_paramsarray_like
The inputs to the
RandomVariableOp.- 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 PyTensor RV Op. Most prominently:
sizeordtype.
- Returns:
- rv
TensorVariable The created random variable tensor.
- rv