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 502
502
@test getlogprior (vi) ≈ Bijectors. logpdf_with_trans (dist, x, false )
503
503
end
504
504
505
+ # ## `VarInfo`
506
+ # Need to run once since we can't specify that we want to _sample_
507
+ # in the unconstrained space for `VarInfo` without having `vn`
508
+ # present in the `varinfo`.
509
+
505
510
# # `untyped_varinfo`
506
511
vi = DynamicPPL. untyped_varinfo (model)
507
512
vi = DynamicPPL. settrans!! (vi, true , vn)
512
517
vi = DynamicPPL. settrans!! (vi, true , vn)
513
518
test_linked_varinfo (model, vi)
514
519
515
- # # `typed_varinfo`
516
- vi = DynamicPPL. typed_varinfo (model)
517
- vi = DynamicPPL. settrans!! (vi, true , vn)
518
- test_linked_varinfo (model, vi)
519
-
520
520
# ## `SimpleVarInfo`
521
521
# # `SimpleVarInfo{<:NamedTuple}`
522
522
vi = DynamicPPL. settrans!! (SimpleVarInfo (), true )
You can’t perform that action at this time.
0 commit comments