Skip to content

Commit

Permalink
reformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
t13m committed Mar 5, 2025
1 parent 538c9d6 commit f3bd144
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lhotse/dataset/collation.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ def collate_features(
cuts, num_frames=max(features_lens).item(), direction=pad_direction
)
first_cut = next(iter(cuts))
features = torch.empty(len(cuts), first_cut.num_frames, first_cut.num_features, dtype=features_dtype)
features = torch.empty(
len(cuts), first_cut.num_frames, first_cut.num_features, dtype=features_dtype
)
if executor is None:
for idx, cut in enumerate(cuts):
features[idx] = _read_features(cut)
Expand Down

0 comments on commit f3bd144

Please sign in to comment.