Skip to content

Commit c0bdb1a

Browse files
Update tests/test_messagepassing/test_deep_tensor_network_block.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2a774f8 commit c0bdb1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_messagepassing/test_deep_tensor_network_block.py

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

5757
loss = torch.mean(output_)
5858
loss.backward()
59-
assert x._grad.shape == x.shape
59+
assert x.grad.shape == x.shape

0 commit comments

Comments
 (0)