Skip to content

Allow apply's method argument to accept submodules #3281

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

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

cgarciae
Copy link
Collaborator

What does this PR do?

Related to #3279. Improve apply's support string arguments to method by allowing submodules to be accepted as well.

@codecov-commenter
Copy link

Codecov Report

Merging #3281 (0a95444) into main (d72ab2c) will increase coverage by 0.01%.
Report is 5 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #3281      +/-   ##
==========================================
+ Coverage   82.62%   82.64%   +0.01%     
==========================================
  Files          55       55              
  Lines        6359     6360       +1     
==========================================
+ Hits         5254     5256       +2     
+ Misses       1105     1104       -1     
Files Changed Coverage Δ
flax/linen/module.py 91.89% <100.00%> (+0.12%) ⬆️

... and 2 files with indirect coverage changes

📢 Have feedback on the report? Share it here.

@cgarciae cgarciae force-pushed the method-accept-str-submodules branch from 0a95444 to a0e4fe9 Compare September 8, 2023 16:27
@cgarciae cgarciae force-pushed the method-accept-str-submodules branch from a0e4fe9 to 37cbb7d Compare September 11, 2023 19:40
@copybara-service copybara-service bot merged commit a5cf5db into main Sep 11, 2023
@copybara-service copybara-service bot deleted the method-accept-str-submodules branch September 11, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants