clipping model parameters in flax.training.train_state.TrainState #4508
Unanswered
jecampagne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm quite new in
flax
and I'm usinglinen nn.Module
to setup a simple model. Then I'm usingflax.training.train_state.TrainState
default to create a state as followedThis state once created is used in a training loop as
Now, I wander how I can implement a
variables['params']
clipping in this context.Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions