Skip to content

Commit f4e6b84

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_messagepassing/test_radial_field_network_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ def test_backward():
6464
output_ = model(edge_index=edge_index, x=x.requires_grad_())
6565
loss = torch.mean(output_)
6666
loss.backward()
67-
assert x._grad.shape == x.shape
67+
assert x.grad.shape == x.shape

0 commit comments

Comments
 (0)