Closed chiamp closed 3 months ago
Attention: Patch coverage is 0%
with 32 lines
in your changes missing coverage. Please review.
Project coverage is 0.00%. Comparing base (
31adb00
) to head (098a2d5
). Report is 9 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
flax/nnx/tests/module_test.py | 0.00% | 26 Missing :warning: |
flax/nnx/nnx/module.py | 0.00% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Added
nnx.graph.iter_children
, which returns an iterator of only immediate childModule
's (contrasted withnnx.graph.iter_modules
that returns an iterator of ALL nestedModule
's). Also updated docstring and tests for both methods. Maybe we can use more informative names likeiter_all_modules
anditer_child_modules
?