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 523
523
@test getlogprior (vi) ≈ Bijectors. logpdf_with_trans (dist, x, false )
524
524
end
525
525
526
+ # ## `VarInfo`
527
+ # Need to run once since we can't specify that we want to _sample_
528
+ # in the unconstrained space for `VarInfo` without having `vn`
529
+ # present in the `varinfo`.
530
+
526
531
# # `untyped_varinfo`
527
532
vi = DynamicPPL. untyped_varinfo (model)
528
533
vi = DynamicPPL. settrans!! (vi, true , vn)
533
538
vi = DynamicPPL. settrans!! (vi, true , vn)
534
539
test_linked_varinfo (model, vi)
535
540
536
- # # `typed_varinfo`
537
- vi = DynamicPPL. typed_varinfo (model)
538
- vi = DynamicPPL. settrans!! (vi, true , vn)
539
- test_linked_varinfo (model, vi)
540
-
541
541
# ## `SimpleVarInfo`
542
542
# # `SimpleVarInfo{<:NamedTuple}`
543
543
vi = DynamicPPL. settrans!! (SimpleVarInfo (), true )
You can’t perform that action at this time.
0 commit comments