Skip to content
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

Adds some more comments to scope.py #2743

Merged
merged 3 commits into from
Jan 9, 2023

Conversation

marcvanzee
Copy link
Collaborator

Some of the code in scope._mutable_collection and scope.put_variable is actually quite intricate and wasn't explain well.

@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2022

Codecov Report

Merging #2743 (0f95fae) into main (62617db) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2743   +/-   ##
=======================================
  Coverage   81.22%   81.22%           
=======================================
  Files          53       53           
  Lines        5636     5636           
=======================================
  Hits         4578     4578           
  Misses       1058     1058           
Impacted Files Coverage Δ
flax/core/scope.py 90.13% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@levskaya levskaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great we - should comment the hell out of our central core/linen files.

@copybara-service copybara-service bot merged commit 9aa28ac into google:main Jan 9, 2023
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