Possible breaking changes:
- Bug Fix: Disallow modifying attributes in Modules after they are initialized.
- Raise an error when saving a checkpoint which has a smaller step than the
latest checkpoint already saved. - MultiOptimizer now rejects the case where multiple sub optimizers update the
same parameter.
Other changes:
- Added custom error classes to many Linen errors. See:
https://flax.readthedocs.io/en/latest/flax.errors.html - Adds
Module.bindfor binding variables and RNGs to an interactive Module. - Adds
nn.applyandnn.initfor transforming arbitrary functions that take alinen.Moduleas their first argument. - Add option to overwrite existing checkpoints in
save_checkpoint. - Remove JAX omnistaging check for forward compatibility.
- Pathlib compatibility for checkpoint paths.
is_leafargument intraverse_util.flatten_dict