Skip to content

Nested function #18271

Answered by anh-tong
HyunyoungJung asked this question in Q&A
Discussion options

You must be logged in to vote

Here PD_substep is automatically jitted. In fact, input functions for jax.lax.scan should be jittable. So, you do not have to jit the nested function _pd_control except you want to use _pd_control elsewhere.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HyunyoungJung
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