Skip to content

Commit ef75809

Browse files
committed
Merge dims into _stationarity_dims
1 parent cc6bdb3 commit ef75809

1 file changed

Lines changed: 4 additions & 22 deletions

File tree

tests/unit/aggregation/_inputs.py

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -134,23 +134,7 @@ def _generate_semi_orthonormal_complement(Q: Tensor) -> Tensor:
134134
(9, 11, 0),
135135
]
136136

137-
_strong_dims = [
138-
(50, 10, 10),
139-
(50, 10, 5),
140-
(50, 10, 1),
141-
(50, 500, 1),
142-
(50, 500, 49),
143-
]
144-
145-
_strictly_weak_dims = [
146-
(50, 10, 10),
147-
(50, 10, 5),
148-
(50, 10, 1),
149-
(50, 500, 1),
150-
(50, 500, 49),
151-
]
152-
153-
_non_weak_dims = [
137+
_stationarity_dims = [
154138
(50, 10, 10),
155139
(50, 10, 5),
156140
(50, 10, 1),
@@ -165,11 +149,9 @@ def _generate_semi_orthonormal_complement(Q: Tensor) -> Tensor:
165149

166150
matrices = [_generate_matrix(m, n, r) for m, n, r in _normal_dims]
167151
zero_matrices = [torch.zeros([m, n]) for m, n, _ in _zero_dims]
168-
strong_matrices = [_generate_strong_matrix(m, n, r) for m, n, r in _strong_dims]
169-
strictly_weak_matrices = [
170-
_generate_strictly_weak_matrix(m, n, r) for m, n, r in _strictly_weak_dims
171-
]
172-
non_weak_matrices = [_generate_non_weak_matrix(m, n, r) for m, n, r in _non_weak_dims]
152+
strong_matrices = [_generate_strong_matrix(m, n, r) for m, n, r in _stationarity_dims]
153+
strictly_weak_matrices = [_generate_strictly_weak_matrix(m, n, r) for m, n, r in _stationarity_dims]
154+
non_weak_matrices = [_generate_non_weak_matrix(m, n, r) for m, n, r in _stationarity_dims]
173155

174156
scaled_matrices = [scale * matrix for scale in _scales for matrix in matrices]
175157

0 commit comments

Comments
 (0)