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
90ef4d89e6
commit
11aee8203d
Binary file not shown.
@ -195,7 +195,7 @@ class Conformer(Transformer):
|
||||
x += self.sigmoid(alpha) * layer_outputs[(enum+1)*self.group_layer_num-1]
|
||||
x = self.layer_norm(x)
|
||||
|
||||
if self.interctc or self.interctc_condition or self.group_num > 0:
|
||||
if self.interctc or self.interctc_condition orself.group_num > 0:
|
||||
return (x, layer_outputs), mask
|
||||
else:
|
||||
return x, mask
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user