Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merge this library into a popular existing library. #2

Open
nstarman opened this issue Jul 11, 2024 · 0 comments
Open

Merge this library into a popular existing library. #2

nstarman opened this issue Jul 11, 2024 · 0 comments

Comments

@nstarman
Copy link
Contributor

nstarman commented Jul 11, 2024

Maybe https://github.com/corenting/immutabledict:

Important differences:

  1. __init__ versus __new__. IDK why immutabledict uses __new__. It's decidedly less convenient for subclassing and in no way is __new__ needed over __init__.
  2. JAX compatibility

Maybe https://flax.readthedocs.io/en/latest/api_reference/flax.core.frozen_dict.html

This might be the best option, if we could get them to spin it off into a separate package.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant