-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Once InitContext
is fully merged, SampleFrom{Prior,Uniform}
, as well as setval_and_resample!
, will have been removed. This means that the only code left that uses the del
flag is upstream in Turing's pMCMC samplers.
Following TuringLang/Turing.jl#2629, it is clear that there is no need for a per-varname del
flag on VarInfo. A single VarInfo
-wide boolean, del
flag would suffice. Thus at the very least this simplification should be implemented.
Going beyond that, we could potentially manage this using contexts instead of a del
flag. That will require some extra investigation.
Note that this post has been edited based on upstream changes in Turing.
Metadata
Metadata
Assignees
Labels
No labels