Skip to content

Commit c911c76

Browse files
Reverts a7558de
PiperOrigin-RevId: 797986632
1 parent 0cd85c6 commit c911c76

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

jax/_src/lax/control_flow/loops.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2012,10 +2012,6 @@ def _while_partial_eval_custom(saveable, unks_in, inst_in, eqn):
20122012
body_jaxpr = eqn.params['body_jaxpr']
20132013
body_nconsts = eqn.params['body_nconsts']
20142014

2015-
if not any(unks_in):
2016-
num_outs = len(eqn.params['body_jaxpr'].out_avals)
2017-
return eqn, None, [False] * num_outs, [False] * num_outs, []
2018-
20192015
cond_consts_uk, body_consts_uk, carry_init_uk = \
20202016
split_list(unks_in, [cond_nconsts, body_nconsts])
20212017

0 commit comments

Comments
 (0)