Skip to content

get_params returned from the optimizers feels weird. #6406

Answered by tomhennigan
uduse asked this question in General
Discussion options

You must be logged in to vote

This is one of the design decision optax changes (params and opt_state are decoupled). It might be worth trying that library instead.

I'm not aware of any cases where params = get_params(opt_state) is preferable to having params separate from opt_state, however changing this in jax.experimental.optimizers would be API breaking so I would guess this will not happen.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@uduse
Comment options

@davisyoshida
Comment options

Answer selected by uduse
Comment options

You must be logged in to vote
1 reply
@uduse
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants