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

Added dict utility functions #2897

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

chiamp
Copy link
Collaborator

@chiamp chiamp commented Feb 23, 2023

Added utility functions for regular dicts that mimic the behavior of FrozenDict methods.

Part of migrating FrozenDicts to regular dicts (original issue described in #1223).

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2023

Codecov Report

Merging #2897 (42d51b4) into main (eef5d8b) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2897      +/-   ##
==========================================
+ Coverage   81.47%   81.50%   +0.02%     
==========================================
  Files          55       55              
  Lines        5804     5812       +8     
==========================================
+ Hits         4729     4737       +8     
  Misses       1075     1075              
Impacted Files Coverage Δ
flax/core/__init__.py 100.00% <ø> (ø)
flax/core/frozen_dict.py 96.58% <100.00%> (+0.25%) ⬆️

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

@chiamp chiamp self-assigned this Feb 23, 2023
@copybara-service copybara-service bot merged commit 587f614 into google:main Feb 23, 2023
@chiamp chiamp deleted the frozen_dict_utility_fns branch February 26, 2023 05:04
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.

2 participants