version 0.3.3
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.bind
for binding variables and RNGs to an interactive Module. - Adds
nn.apply
andnn.init
for transforming arbitrary functions that take alinen.Module
as 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_leaf
argument intraverse_util.flatten_dict