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
e67de22873
commit
8468e23874
Binary file not shown.
Binary file not shown.
@ -425,7 +425,6 @@ def decode_one_batch(
|
||||
eos_id=graph_compiler.eos_id,
|
||||
return_output=True,
|
||||
)
|
||||
|
||||
hyps = greedy_search(pred, memory_key_padding_mask)
|
||||
|
||||
# hyps is a list of str, e.g., ['xxx yyy zzz', ...]
|
||||
|
||||
@ -882,7 +882,7 @@ class TransformerDecoder(nn.Module):
|
||||
if i in self.aux_layers:
|
||||
outputs.append(output)
|
||||
|
||||
output = self.combiner(outputs)
|
||||
#output = self.combiner(outputs)
|
||||
|
||||
return output
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user