Skip to content

Would it be correct to implement k-gradient step updates like this? #2799

Answered by marcvanzee
AhmetHamzaEmra asked this question in Q&A
Discussion options

You must be logged in to vote

Looks fine to me, assuming model is a TrainState-like object:

class TrainState(struct.PyTreeNode):

Replies: 1 comment 1 reply

Comment options

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

Answer selected by AhmetHamzaEmra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2795 on January 17, 2023 06:15.