Skip to content

Commit f4e5f4b

Browse files
penelopeysmmhauru
andauthored
Update HISTORY.md
Co-authored-by: Markus Hauru <[email protected]>
1 parent 77a8710 commit f4e5f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For developers working on DynamicPPL, `InitContext` now completely replaces what
3636
Evaluating a model with `SamplingContext(SampleFromPrior())` (e.g. with `DynamicPPL.evaluate_and_sample!!(model, VarInfo(), SampleFromPrior())` has a direct one-to-one replacement in `DynamicPPL.init!!(model, VarInfo(), InitFromPrior())`.
3737
Please see the docstring of `init!!` for more details.
3838
Likewise `SampleFromUniform()` can be replaced with `InitFromUniform()`.
39-
`InitFromParams()` provides new functionality which previously used to be implemented in the roundabout way of manipulating the VarInfo (e.g. using `unflatten`, or even more hackily by directly modifying values in the VarInfo), and then evaluating using `DefaultContext`.
39+
`InitFromParams()` provides new functionality which was previously implemented in the roundabout way of manipulating the VarInfo (e.g. using `unflatten`, or even more hackily by directly modifying values in the VarInfo), and then evaluating using `DefaultContext`.
4040

4141
The main change that this is likely to create is for those who are implementing samplers or inference algorithms.
4242
The exact way in which this happens will be detailed in the Turing.jl changelog when a new release is made.

0 commit comments

Comments
 (0)