File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,27 @@ SamplingContext
470
470
DefaultContext
471
471
PrefixContext
472
472
ConditionContext
473
+ InitContext
474
+ ```
475
+
476
+ ### VarInfo initialisation
477
+
478
+ ` InitContext ` is used to initialise, or overwrite, values in a VarInfo.
479
+
480
+ To accomplish this, an initialisation _ strategy_ is required, which defines how new values are to be obtained.
481
+ There are three concrete strategies provided in DynamicPPL:
482
+
483
+ ``` @docs
484
+ PriorInit
485
+ UniformInit
486
+ ParamsInit
487
+ ```
488
+
489
+ If you wish to write your own, you have to subtype [ ` DynamicPPL.AbstractInitStrategy ` ] ( @ref ) and implement the ` init ` method.
490
+
491
+ ``` @docs
492
+ DynamicPPL.AbstractInitStrategy
493
+ DynamicPPL.init
473
494
```
474
495
475
496
### Samplers
You can’t perform that action at this time.
0 commit comments