-
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
[WIP] Move from implicitly mapped measures and kernels to data tagged as mapped #155
base: main
Are you sure you want to change the base?
Conversation
Likelihoods can be built from callables as well.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #155 +/- ##
==========================================
+ Coverage 56.32% 56.47% +0.15%
==========================================
Files 44 44
Lines 1321 1351 +30
==========================================
+ Hits 744 763 +19
- Misses 577 588 +11 ☔ View full report in Codecov by Sentry. |
function strict_logdensityof(μ::Half, x) | ||
ld = strict_logdensityof(unhalf(μ), x) - loghalf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to have another look at this - should it just be logdensity_def
?
If we need to merge before this is resolved, let's add a #TODO comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is part of specializing logdensityof (e242314) to avoid the multi-step logdensity_def
machinery if users don't need logdensity_rel
(until we revamp that machinery to make it more type-stable and Zygote-friendly).
No description provided.