Skip to content

Commit

Permalink
fix unitest
Browse files Browse the repository at this point in the history
  • Loading branch information
AIboy996 committed Apr 20, 2024
1 parent 6ad8653 commit 3980bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_autograd.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test_NN(self):
b = torch.from_numpy(b.data)
c = torch.from_numpy(c.data)
x = torch.from_numpy(x.data)
y = torch.from_numpy(y.data).long()
y = torch.from_numpy(y.data)
A.requires_grad = True
B.requires_grad = True
C.requires_grad = True
Expand Down

0 comments on commit 3980bf1

Please sign in to comment.