Given a state, how to get the values of its arrays?
Artur-Galstyan opened this issue · comments
Artur A. Galstyan commented
As the title says. E.g. I do this:
state, model = eqx.nn.make_with_state(...)(...)
# how to get the arrays within state?
Artur A. Galstyan commented
Oh, my bad. It's just:
state.get(model.state_index) # or whatever is the name of the index