Skip to content

Are subfunctions considered pure? #18250

Answered by froystig
inversecrime asked this question in Q&A
Discussion options

You must be logged in to vote

Yes – jax.lax.cond supports closure in the conditional's branch functions.

Replies: 1 comment 1 reply

Comment options

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

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