Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly export "struct" from module "flax".
This allows the following: ``` import flax @flax.struct.dataclass class C: ... ``` The current usages of the above pattern in flax only work accidentally because there already are imports for "flax.struct" in other files. See also https://docs.python.org/3/reference/simple_stmts.html#the-import-statement PiperOrigin-RevId: 552452298
- Loading branch information