Skip to content

Contract of momentum_generator? #565

Answered by junpenglao
femtomc asked this question in Q&A
Discussion options

You must be logged in to vote

momentum_generator input signature is

def momentum_generator(rng_key: PRNGKey, position: PyTree) -> PyTree:

Where the return pytree should be the same structure as the input pytree position. Could you share more how you are calling it?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@femtomc
Comment options

@femtomc
Comment options

@femtomc
Comment options

Answer selected by femtomc
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