jax lax.while_loop and lax.fori_loop with multiple conditions and statements #15416
Unanswered
PoulomiPradhan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi - thanks for the question! It's hard to answer such things in abstract: could you edit your question to add a small minimal reproducible example showing the situation you have in mind? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have python for loop and while loop with multiple conditions and multiple statements inside the loop. I would like to convert it to lax.while_loop and lax.fori_loop. So would it contain multiple body funcs and cond funcs ?
Can someone please help how to do that ?
Beta Was this translation helpful? Give feedback.
All reactions