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
1a3323e574
commit
186d756804
Binary file not shown.
Binary file not shown.
@ -197,6 +197,7 @@ class Conformer(EncoderInterface):
|
||||
|
||||
x = x.permute(1, 0, 2) # (T, N, C) ->(N, T, C)
|
||||
layer_outputs = [x.permute(1, 0, 2) for x in layer_outputs]
|
||||
layer_outputs.append(pos_emb)
|
||||
|
||||
if get_layer_output:
|
||||
return x, lengths, layer_outputs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user