File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 565
565
@test getlogprior (vi) ≈ Bijectors. logpdf_with_trans (dist, x, false )
566
566
end
567
567
568
+ # ## `VarInfo`
569
+ # Need to run once since we can't specify that we want to _sample_
570
+ # in the unconstrained space for `VarInfo` without having `vn`
571
+ # present in the `varinfo`.
572
+
568
573
# # `untyped_varinfo`
569
574
vi = DynamicPPL. untyped_varinfo (model)
570
575
vi = DynamicPPL. settrans!! (vi, true , vn)
575
580
vi = DynamicPPL. settrans!! (vi, true , vn)
576
581
test_linked_varinfo (model, vi)
577
582
578
- # # `typed_varinfo`
579
- vi = DynamicPPL. typed_varinfo (model)
580
- vi = DynamicPPL. settrans!! (vi, true , vn)
581
- test_linked_varinfo (model, vi)
582
-
583
583
# ## `SimpleVarInfo`
584
584
# # `SimpleVarInfo{<:NamedTuple}`
585
585
vi = DynamicPPL. settrans!! (SimpleVarInfo (), true )
You can’t perform that action at this time.
0 commit comments