-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ops to allow non-funsor parameters (#491)
* Refactor ops to have known arity * Add docs; merge CachedOpMeta into OpMeta * Fix some ops * Add Ternary -> Finitary pattern * Fix some dispatch logic; fix patterns * Fix ops.einsum usage * Fix test_tensors.py * Fix more ops * Refactor TransformOp and WrappedTransformOp * Fix misc ops * lint * Work around signature parsing in Python 3.6 * Fix test_cnf.py * Disable obsolete/questionable test * Add info to assertions failing only on ci * Clean up error printing * Fix typo * Fix is_numeric_array(funsor.Tensor) * Revert some changes to is_numeric_array and funsor.adjoint * Set JAX_ENABLE_X64=1 on ci * Increase number of samples in test_gaussian_mixture_distribution * Increase number of samples in test_dirichlet_sample
- Loading branch information
Showing
29 changed files
with
788 additions
and
576 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
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.