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
3ae7169f5d
commit
1c11c19869
Binary file not shown.
@ -703,12 +703,13 @@ class ConformerEncoder(nn.Module):
|
|||||||
warmup=warmup,
|
warmup=warmup,
|
||||||
)
|
)
|
||||||
layer_outputs.append(output)
|
layer_outputs.append(output)
|
||||||
|
|
||||||
if i in self.aux_layers:
|
if i in self.aux_layers:
|
||||||
outputs.append(output)
|
outputs.append(output)
|
||||||
|
|
||||||
output = self.combiner(outputs)
|
output = self.combiner(outputs)
|
||||||
|
|
||||||
return output
|
return output, layer_outputs
|
||||||
|
|
||||||
@torch.jit.export
|
@torch.jit.export
|
||||||
def chunk_forward(
|
def chunk_forward(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user