-
Notifications
You must be signed in to change notification settings - Fork 660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add path_aware_map function #2371
Add path_aware_map function #2371
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2371 +/- ##
==========================================
+ Coverage 69.33% 79.28% +9.95%
==========================================
Files 63 49 -14
Lines 5556 4875 -681
==========================================
+ Hits 3852 3865 +13
+ Misses 1704 1010 -694
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
0b44426
to
ca10344
Compare
fca9f7e
to
44d1c0d
Compare
2d152c5
to
f6e283b
Compare
b8e8980
to
fbcde14
Compare
fbcde14
to
acb7662
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
What does this PR do?
Adds a
path_aware_map
function totraverse_util
, this function makes it easy to use create Flax with Optax'smulti_transform
andmasked
combinators.