TuringLang / DynamicPPL.jl

Implementation of domain-specific language (DSL) for dynamic probabilistic programming
https://turinglang.org/DynamicPPL.jl/
MIT License
157 stars 27 forks source link

Too many gets #654

Open mhauru opened 1 week ago

mhauru commented 1 week ago

VarInfo and surrounding types have at least getindex, getindex_internal, getvalue, getindex_varname, getall, and #555 may introduce getindex_raw too. I'm struggling to keep track of the differences. Once the dust settles after #555, and maybe related ones like getting rid of the old Gibbs sampler and Metadata, we may want to simplify this.