ContNonContractRV.__init__#
- ContNonContractRV.__init__(name=None, ndim_supp=None, ndims_params=None, dtype=None, inplace=None)#
Create a random variable
Op
.- Parameters:
- name: str
The
Op
’s display name.- ndim_supp: int
Total number of dimensions for a single draw of the random variable (e.g. a multivariate normal draw is 1D, so
ndim_supp = 1
).- ndims_params: list of int
Number of dimensions for each distribution parameter when the parameters only specify a single drawn of the random variable (e.g. a multivariate normal’s mean is 1D and covariance is 2D, so
ndims_params = [1, 2]
).- dtype: str (optional)
The dtype of the sampled output. If the value
"floatX"
is given, thendtype
is set topytensor.config.floatX
. IfNone
(the default), thedtype
keyword must be set whenRandomVariable.make_node
is called.- inplace: boolean (optional)
Determine whether or not the underlying rng state is updated in-place or not (i.e. copied).