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
d1b5666bab
commit
f8137825d2
Binary file not shown.
@ -181,7 +181,12 @@ class Conformer(Transformer):
|
||||
mask = mask.to(x.device) if mask is not None else None
|
||||
|
||||
x, layer_outputs = self.encoder(
|
||||
x, pos_emb, src_key_padding_mask=mask, warmup=warmup, condition_layer=self.condition_layer,
|
||||
x,
|
||||
pos_emb,
|
||||
src_key_padding_mask=mask,
|
||||
warmup=warmup,
|
||||
condition_layer=self.condition_layer,
|
||||
ctc_output=self.ctc_output,
|
||||
) # (S, N, C)
|
||||
|
||||
if self.group_num != 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user