-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Milestone
Description
- We need to get rid of the VarInfo argument. Given that you can just pass a transform strategy instead, it serves very little use now...
apart from
allowing people to stick values inside it with unflatten, and then those values become the values that are used for gradient preparation. We actually use that in ADTests to demonstrate that ReverseDiffCompiled fails sometimes. There are two ways around this:
- Declare that this usage is just way too advanced, and unnecessary. We can hardcode the ADTests table to show that it's wrong.
- Put another keyword argument on LogDensityFunction, that allows users to control the parameters used for gradient prep, and then put a keyword argument on run_ad that forwards to the LDF.
Finally, we need to:
- get rid of the varinfo field in the ADResult (arguably it should just straight up store the LDF)
That is easy to do, but it's breaking, so it will have to go in the next minor version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels