Skip to content

Unify unflatten, replace_value, and others #795

@mhauru

Description

@mhauru

As noted in https://github.com/TuringLang/DynamicPPL.jl/pull/793/files#r1936255984 and the comment that it's on, unflatten, replace_value, one of the constructors for VarInfo, and set_values!! seem very similar, especially once indexing by samplers has been removed. Some or all of them should be unified into a single function.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions