-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid one layer of indirection by colocating the source and the subpa…
…ckage __init__ for optax.contrib. WARNING: This can potentially break the loading of a saved optimizer states if the path of the MechanicState class is tied to the saved data (e.g. via pickling). This kind of pickling issue can be fixed at load time by adding an import stub at the old location, or by adding a `sys.modules` entry for the old path. PiperOrigin-RevId: 570397989
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters