Skip to content

Commit b7d98b9

Browse files
Update tests/test_messagepassing/test_schnet_block.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0c11504 commit b7d98b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_messagepassing/test_schnet_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ def test_backward():
7070

7171
loss = torch.mean(output_)
7272
loss.backward()
73-
assert x._grad.shape == x.shape
73+
assert x.grad.shape == x.shape

0 commit comments

Comments
 (0)