You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__init__ versus __new__. IDK why immutabledict uses __new__. It's decidedly less convenient for subclassing and in no way is __new__ needed over __init__.
Maybe https://github.com/corenting/immutabledict:
Important differences:
__init__
versus__new__
. IDK whyimmutabledict
uses__new__
. It's decidedly less convenient for subclassing and in no way is__new__
needed over__init__
.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.
The text was updated successfully, but these errors were encountered: