Skip to content

Commit

Permalink
down into cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfeiBai committed Apr 23, 2024
1 parent 33fa1fb commit ea0e663
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch_xla/experimental/fori_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def while_loop(cond_fn, body_fn, carried_inputs, additional_inputs=None):
# carried_inputs: (Tuple of possibly nested dict/list/tuple of tensors)
if additional_inputs is None:
additional_inputs = tuple()
print("$$$ additional_inputs: ", additional_inputs)
return _xla_while_loop(cond_fn, body_fn, carried_inputs, additional_inputs)


Expand Down

0 comments on commit ea0e663

Please sign in to comment.