Contract of momentum_generator
?
#565
-
Hi! I've started using BlackJAX recently. I create a "one step" function and pass it over the line to I'm not sure what the contract is on |
Beta Was this translation helpful? Give feedback.
Answered by
junpenglao
Sep 1, 2023
Replies: 1 comment 3 replies
-
def momentum_generator(rng_key: PRNGKey, position: PyTree) -> PyTree: Where the return pytree should be the same structure as the input pytree |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
femtomc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
momentum_generator
input signature isWhere the return pytree should be the same structure as the input pytree
position
. Could you share more how you are calling it?