Skip to content

Commit 1a8f621

Browse files
authored
Remove Unused Variable indexScores from fbcode/pytorch/audio/src/libtorchaudio/forced_align/gpu/compute.cu
Differential Revision: D75027221 Pull Request resolved: #3915
1 parent ea5de17 commit 1a8f621

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libtorchaudio/forced_align/gpu/compute.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,10 @@ void forced_align_impl(
234234
alphasCpu_a[curIdxOffset][S - 1] > alphasCpu_a[curIdxOffset][S - 2]
235235
? S - 1
236236
: S - 2;
237-
int indexScores = 0;
238237
for (int t = T - 1; t >= 0; --t) {
239238
auto lbl_idx =
240239
ltrIdx % 2 == 0 ? blank : targetsCpu_a[batchIndex][ltrIdx / 2];
241240
paths_a[batchIndex][t] = lbl_idx;
242-
++indexScores;
243241
ltrIdx -= backPtrCpu_a[t][ltrIdx];
244242
}
245243
}

0 commit comments

Comments
 (0)