-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Shard info (#10) * add shard info in `tree_summary` for jax arrays (if exists) * add export xla flag in jax ci * shorter syntax * Update test_pprint.py * Simplify tree pprint (#11) * Update CHANGELOG.md * remove tree_mermaid tree_graph * simplify the masking API. (#12) * simplify the masking API. - remove freeze/unfreeze - rename is_frozen to is_masked. - restrict the cond in tree_mask to callable only * fix failing tests * remove partial is_tree_equal from public API * Update CHANGELOG.md * add __format__ * Update CHANGELOG.md * tree mask edits * add broadcast_to to bcmap (#13) * Remove distinction between regex and string match key (#14) * changelog edit * revert `__format__` * [AtIndexer] make string key points to regex by default, remove BaseKey * tree_*** -> *** * print tracer type in tree repr/str * fix `is_leaf` typing * revert #14 plus some mods - in favor of more explicit - fails if dicts haves keys similar to re.Pattern * remove __format__ * Add `fill_value` for `at[...].get(fill_value=...)` * bump version * changelog * Add `jax.tree_util.{SequenceKey,GetAttrKey,DictKey}` as valid path keys in `at[...]`. * define arraylib.array_equal * fix numpy test failing * AtIndexer -> at * tuple -> tuple[type1, ... typen] in tree_summary type row * add def_rule for at indexer * remove is_nondiff * docs organization * list tree summary pp rule * Update tree_mask.py * nits * fix at docstring * fix no leaf match error * fix doctest errors * docs * nits * typing
- Loading branch information
Showing
31 changed files
with
769 additions
and
1,221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
🏗️ Constructor utils API | ||
============================= | ||
|
||
|
||
.. currentmodule:: sepes | ||
|
||
.. autofunction:: field | ||
.. autofunction:: fields | ||
.. autofunction:: autoinit | ||
.. autofunction:: leafwise |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
📍 Module API | ||
============================= | ||
|
||
|
||
.. currentmodule:: sepes | ||
|
||
.. autoclass:: TreeClass | ||
:members: | ||
at | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,9 @@ | |
:maxdepth: 2 | ||
:caption: API Documentation | ||
|
||
core | ||
module | ||
masking | ||
tree | ||
constructor | ||
pretty_print | ||
backend |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
🌲 Tree utils API | ||
============================= | ||
|
||
|
||
.. currentmodule:: sepes | ||
|
||
.. autoclass:: at | ||
:members: | ||
get, | ||
set, | ||
apply, | ||
scan, | ||
reduce, | ||
pluck, | ||
|
||
.. autofunction:: value_and_tree | ||
.. autofunction:: bcmap |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.