File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -339,17 +339,15 @@ def dist(
339339
340340@singledispatch
341341def _get_moment (op , rv , size , * rv_inputs ) -> TensorVariable :
342- """Fallback method for creating an initial value for a random variable.
343-
344- Parameters are the same as for the `.dist()` method.
345- """
346342 return None
347343
348344
349345def get_moment (rv : TensorVariable ) -> TensorVariable :
350- """Fallback method for creating an initial value for a random variable.
346+ """Method for choosing a representative point/value
347+ that can be used to start optimization or MCMC sampling.
351348
352- Parameters are the same as for the `.dist()` method.
349+ The only parameter to this function is the RandomVariable
350+ for which the value is to be derived.
353351 """
354352 size = rv .owner .inputs [1 ]
355353 return _get_moment (rv .owner .op , rv , size , * rv .owner .inputs [3 :])
You can’t perform that action at this time.
0 commit comments