v0.35.5
DynamicPPL v0.35.5
Several internal methods have been removed:
DynamicPPL.getall(vi::AbstractVarInfo)
has been removed. You can directly replace this withgetindex_internal(vi, Colon())
.DynamicPPL.setall!(vi::AbstractVarInfo, values)
has been removed. Rewrite the calling function to not assume mutation and useunflatten(vi, values)
instead.DynamicPPL.replace_values(md::Metadata, values)
andDynamicPPL.replace_values(nt::NamedTuple, values)
(where thent
is a NamedTuple of Metadatas) have been removed. UseDynamicPPL.unflatten_metadata
as a direct replacement.DynamicPPL.set_values!!(vi::AbstractVarInfo, values)
has been renamed toDynamicPPL.set_initial_values(vi::AbstractVarInfo, values)
; it also no longer mutates the varinfo argument.
The exported method VarInfo(vi::VarInfo, values)
has been deprecated, and will be removed in the next minor version. You can replace this directly with unflatten(vi, values)
instead.