We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6901e02 + 47ae9fe commit 34f1343Copy full SHA for 34f1343
tests/test_transform/utils/test_hadamards.py
@@ -46,7 +46,7 @@ def test_packed_hadamard_compliant(had_func):
46
def test_random_hadamard_matrix_compliant(size):
47
had_matrix = random_hadamard_matrix(size)
48
val_1 = torch.round(had_matrix @ had_matrix.T)
49
- assert torch.equal(val_1, torch.eye(size))
+ assert torch.equal(val_1 / size, torch.eye(size))
50
51
52
@pytest.mark.parametrize(
0 commit comments