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 24, 2024
1 parent 3aa67e7 commit 760d49c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch_xla/experimental/fori_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def new_body_fn(*carried_inputs):
# res.extend(additional_inputs)
# print("res: ", res)
# return list(body_fn(*carried_inputs)).extend(additional_inputs)
self.named_parameters
# self.named_parameters
weight = self.linear.weight
res = list(body_fn(*carried_inputs))
# print("res: ", res)
# trynewres = res[:-1] + [res[-1]]
Expand Down

0 comments on commit 760d49c

Please sign in to comment.