Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfeiBai committed Apr 10, 2024
1 parent a802df6 commit dcc0103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_fori_loop_simple_linear_model_test_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def body_fun(l_in_i):
# TODO(@manfei), need to create new variable to seperate old/formal HLO/IR
l_in_0 = torch.randn(10, device=xm.xla_device())

print("body_fun.weight: ", body_fun.weight)
print("body_fun.weight_: ", body_fun.weight_)
# def body_fun(x, y, l_in):
# # l_in = torch.randn(10, device=xm.xla_device())
# linear = torch.nn.Linear(10, 20).to(xm.xla_device())
Expand Down

0 comments on commit dcc0103

Please sign in to comment.