-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Use ReverseDiff/ForwardDiff in KL divergence code (#445)
* refactor elbo_kl objective functions for AD * small touch-up to add_sources_sf * improve entry point to non-allocating KL divergence code * small diff code cleanup * version bump ForwardDiff and ReverseDiff in REQUIRE * refactor rebase against master * get tests passing * add derivative test against manually generated derivatives for KL divergence * bump REQUIRE versions now that Optim supports ForwardDiff 0.3 * refactor for thread safety * fix namespace qualification
- Loading branch information
1 parent
927fa6a
commit 42d869e
Showing
13 changed files
with
251 additions
and
476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.