-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add log1mexp and logdiffexp functions and associated docs * Move #noqa after a line break to avoid it getting included in link * Clarify case of a == jnp.inf in logdiffexp docs * Add needed extra line break * Improve conditional structure, add basic tests * Add type hints * Add gradient tests * Add more tests, including numerical tests of gradients * Make custom jvp syntax follow jax docs, add some more tests * Run ruff * Run ruff * Allow 'ans' in codespell, remove noqa statements * Attribution for custom jvp approach * Reformat files
- Loading branch information
1 parent
88405d5
commit 93e11c2
Showing
4 changed files
with
226 additions
and
3 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