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.
1 parent ea5de17 commit 1a8f621Copy full SHA for 1a8f621
src/libtorchaudio/forced_align/gpu/compute.cu
@@ -234,12 +234,10 @@ void forced_align_impl(
234
alphasCpu_a[curIdxOffset][S - 1] > alphasCpu_a[curIdxOffset][S - 2]
235
? S - 1
236
: S - 2;
237
- int indexScores = 0;
238
for (int t = T - 1; t >= 0; --t) {
239
auto lbl_idx =
240
ltrIdx % 2 == 0 ? blank : targetsCpu_a[batchIndex][ltrIdx / 2];
241
paths_a[batchIndex][t] = lbl_idx;
242
- ++indexScores;
243
ltrIdx -= backPtrCpu_a[t][ltrIdx];
244
}
245
0 commit comments