k2
k2 copied to clipboard
fix lattice length of rnnt_decode
The logprobs of final frame does not contribute lattice generation. This pr is trying to fix this issue.
With original code.
if num_frames = 1

if num_frames = 10
Current pr
if num_frames = 1
if num_frames = 10