Skip to content

Commit edde584

Browse files
author
Han Wang
committed
style: ruff format for the set-bias semantic pin test
1 parent 62378ba commit edde584

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

source/tests/pt/model/test_sezm_model.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,9 +2225,7 @@ def test_set_by_statistic_fits_raw_labels_by_definition(self) -> None:
22252225
dtype=torch.float64,
22262226
device=self.device,
22272227
)
2228-
box = (
2229-
torch.eye(3, dtype=torch.float64, device=self.device).reshape(1, 9) * 8.0
2230-
)
2228+
box = torch.eye(3, dtype=torch.float64, device=self.device).reshape(1, 9) * 8.0
22312229
samples, labels, counts_rows = [], [], []
22322230
for types in ([[0, 0, 1, 1]], [[0, 1, 1, 1]]):
22332231
counts = np.bincount(np.asarray(types[0]), minlength=2)

0 commit comments

Comments
 (0)