-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add getparams
and get_params_varinfo
functions
#113
Conversation
getparams
and get_params_varinfo
functiongetparams
and get_params_varinfo
functions
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #113 +/- ##
==========================================
+ Coverage 71.42% 72.16% +0.73%
==========================================
Files 16 16
Lines 1673 1692 +19
==========================================
+ Hits 1195 1221 +26
+ Misses 478 471 -7
☔ View full report in Codecov by Sentry. |
The HMC inference tests take too long now, I will find a way to make them faster and then enable them in CI (right now, I am running them locally before merging). The issue right now seems to be that I put the tests in separate |
In light of TuringLang/Turing.jl#2097, we know sometimes computation with
ReverseDiff
compiled can be wrong becauseLogDensityProblemsAD
uses zeros array for the compilation process.This PR added a function
getparams
similar toDynamicPPL.jl
's.The PR also update the function
get_params_varinfo
so that we can return a DPPL compatibleSimpleVarInfo
with values in unconstrained space.