-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all NNX content up a level to be equal with Linen, to make pytho…
…n packaging more consistent. This will simplify imports for all NNX users - no more `flax.nnx.nnx` paths. Also renamed `state.py` to `statelib.py` so that `nnx.state()` function keep working. PiperOrigin-RevId: 671520869
- Loading branch information
Showing
113 changed files
with
234 additions
and
264 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
bridge | ||
------------------------ | ||
|
||
.. automodule:: flax.nnx.nnx.bridge | ||
.. currentmodule:: flax.nnx.nnx.bridge | ||
.. automodule:: flax.nnx.bridge | ||
.. currentmodule:: flax.nnx.bridge | ||
|
||
.. flax_module:: | ||
:module: flax.nnx.nnx.bridge | ||
:module: flax.nnx.bridge | ||
:class: ToNNX | ||
|
||
.. flax_module:: | ||
:module: flax.nnx.nnx.bridge | ||
:module: flax.nnx.bridge | ||
:class: ToLinen | ||
|
||
.. autofunction:: to_linen | ||
|
||
.. flax_module:: | ||
:module: flax.nnx.nnx.bridge | ||
:module: flax.nnx.bridge | ||
:class: NNXMeta |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
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
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
Oops, something went wrong.