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
bce8655058
commit
91c5db76e1
Binary file not shown.
@ -447,6 +447,10 @@ class ConformerEncoder(nn.Module):
|
||||
if i in self.aux_layers:
|
||||
outputs.append(output)
|
||||
|
||||
if i+1 in [3,6,9,12,15] and condition_layer is not None:
|
||||
ctc_out = self.ctc_output(output, log_prob=False)
|
||||
output = output + condition_layer
|
||||
|
||||
#output = self.combiner(outputs)
|
||||
return output, layer_outputs
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user