Skip to content

Commit

Permalink
remove duplicate statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Chin-Yun Yu committed Mar 25, 2024
1 parent e0a612d commit 8018c47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def test_low_order_cpu(
x, zi, at, rt = (lambda x: tuple(xx.to(device) for xx in x))(
create_test_inputs(batch_size, samples)
)
x, zi, at, rt = (lambda x: tuple(xx.to(device) for xx in x))(
create_test_inputs(batch_size, samples)
)
x.requires_grad = x_requires_grad
zi.requires_grad = zi_requires_grad
at.requires_grad = at_requires_grad
Expand Down

0 comments on commit 8018c47

Please sign in to comment.