-
-
Notifications
You must be signed in to change notification settings - Fork 987
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add failing test for enuerate + iarange * Decrease test precision * add passing test: test_non_mean_field_bern_bern_elbo_gradient * Add a failing test of enumerate + nested iarange * Raise error when enumerating reshaped distributions with nonempty event shape * add two expensive passing tests * Sketch fix to Trace_ELBO * WIP sketched Trace_ELBO implementation that stores cumulative weight in site["scale"] * Fix some bugs in iter_discrete_traces and Trace.copy() * Fix some shaping errors in iter_discrete_traces * Fix bugs in sequential enumeration * Switch to MultiViewTensor in iter_discrete_traces; speed up tests * Further parameterize one test * WIP sketch enum_stack * Attempt to avoid double counting when enumerating iarange with mixed nesting * Fix trivial tests * Fix scaling of observe sites, add test for loss value * Reorganize computation using local score x upstream grads * Fix bugs in TensorTree; add elbo loss tests * Get all sequential tests to pass * Add elbo loss tests * flake8 * Fix test failures in distributions and poutine.replay * Add stronger tests for TraceEnum_ELBO * Add xfailing tests for irange + enumeration * Combine tests cases to speed up tests * Add minimal failing test for irange + enumerate * Make cond_indep_stack a tuple (hence hashable) * Fix bug in sequentially enumerating nested iarange * Revert changes to replay * Revert minor changes * Fix TraceEnum_ELBO handling of observe sites
- Loading branch information
1 parent
2c62f77
commit e3f0adf
Showing
14 changed files
with
869 additions
and
281 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.