-
I saw it here: flax/examples/seq2seq/train.py Lines 157 to 164 in 93078a4 And it's defined here with a TODO: Lines 198 to 202 in 93078a4 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I believe that @jheek was planning on adding clear docstrings to these. |
Beta Was this translation helpful? Give feedback.
-
These are the "lifted" jax transformations for linen. The short story is that jax transforms don't work natively with stateful things (eg. variables, rng sequences) like linen Modules. These lifted transforms wrap the existing jax transforms and add functionality on top it to support modules fully. You can check |
Beta Was this translation helpful? Give feedback.
These are the "lifted" jax transformations for linen. The short story is that jax transforms don't work natively with stateful things (eg. variables, rng sequences) like linen Modules. These lifted transforms wrap the existing jax transforms and add functionality on top it to support modules fully. You can check
flax.core.lift
for their implementation and a short docstring. Over the last months we have stabilised the implementation and you can soon expect proper documentation and examples for these features.