Skip to content

Commit

Permalink
style(test_barlow_twins_loss): fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
adosar committed Feb 23, 2025
1 parent 4895c01 commit 0167ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/loss/test_barlow_twins_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ def test__loss_is_affine_invariant(self) -> None:
x = torch.randn(32, 1024)

# Loss should be invariant to affine transformations.
assert torch.allclose(loss(x, x), loss(x, 2 * x + 4))
assert torch.allclose(loss(x, x), loss(x, 2*x + 4))

0 comments on commit 0167ae9

Please sign in to comment.