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 5b8fcb7 commit 7d07234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_while_loop_tpu_simple_linear_wrapper(self):
linear_0 = torch.nn.Linear(10, 20).to(xm.xla_device())

def cond_fn(upper, lower, one_value, x, input_value, output_value):
return lower[0] < upper[0]
return lower[0] >= upper[0]

def body_fn(upper, lower, one_value, x, input_value, output_value):
new_lower = torch.add(one_value, lower)
Expand Down

0 comments on commit 7d07234

Please sign in to comment.