-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Precondition interpretation for Gaussian TVE (#553)
* Add Precondition interpretation for Gaussian TVE * Fix bugs; add a test * Add an ops.getslice for more complex eager indexing * Fix bugs, add patterns, add more tests * fix is_affine() * Add more tests * Fix eager_getslice_lambda * Switch to sqrt(precision) representation in Gaussian * Fix some bugs * Fix more math * Add GaussianMeta conversions; fix broadcasting bug * Fix some distribution tests * Refactor from info_vec to white_vec * Fix more tests * Flesh our matrix_and_mvn_to_funsor() * Work our marginalization * fix more tests * Fix more tests * Fix test_gaussian.py * Fix distribution patterns * Fix argmax approximation * Remove Gaussian.negate attribute * Fix matrix_and_mvn_to_funsor diag (full still broken) * Fix old uses of info_vec * Add a test * Fix shape bug in matrix_and_mvn_to_funsor() * Enable pprint for funsors * Revert pp property * Fix matrix_and_mvn_to_funsor() * Relax rank condition * Fix ._sample() * Fix eager_contraction_to_binary * Fix test_joint.py * Fix comparisons in sequential sum product * Fix saarka bilmes test * Add and xfail tests of singular matrices * Fix rank deficiency issues * Add gaussian integrate patterns * Fix comment * Add a set_compression_threshold context manager * Update docstring * Fix backward sampling support bug * Xfail test_elbo.py::test_complex * Relax test thresholds * Fix ops.qr numpy backend * Fix jax tests * Fix bugs * Tweak sensor example * Fix bugs * Add more precondition approximate patterns * Address review comments * Add Sub[Gaussian, tuple] pattern * Sketch implementation of partial sampling from Gaussians * Fix bug * Fix a bug in partial sampling * Get partial sampling working * Reorder Gaussians in cnf * Fix batch shape computation * Add pattern to fuse nested Subs * Relax tolerance * Fix eager_finitary_cat * Increase sample count * Fix jax backend for ops.randn * Revert Gaussian - Gaussian pattern * Relax tolerance * Remove obsolete test
- Loading branch information
Showing
16 changed files
with
631 additions
and
134 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.