mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
3ece75b603
commit
6c7a19ea56
Binary file not shown.
@ -209,7 +209,7 @@ class Transducer(nn.Module):
|
||||
encoder_out, x_lens = self.encoder(x, x_lens)
|
||||
|
||||
hyps = []
|
||||
hyp_tokens = greedy_search_batch(self, encoder_out, x_lens)#, decoder_out)
|
||||
hyp_tokens = greedy_search_batch(self, encoder_out, x_lens)
|
||||
|
||||
for hyp in sp.decode(hyp_tokens):
|
||||
hyps.append(hyp.split())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user