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 2062dc7 commit 30ed519Copy full SHA for 30ed519
src/libtorchaudio/forced_align/cpu/compute.cpp
@@ -27,7 +27,7 @@ void forced_align_impl(
27
const auto L = targets.size(1);
28
const auto S = 2 * L + 1;
29
30
- auto alphas_a = new scalar_t[S][2];
+ auto alphas_a = new scalar_t[S][2]; // scalar_t is just logProbs.dtype()
31
for (int i = 0; i < S; i++) {
32
alphas_a[i][0] = kNegInfinity;
33
alphas_a[i][1] = kNegInfinity;
0 commit comments