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
186d756804
commit
751a6fc23a
Binary file not shown.
@ -503,6 +503,7 @@ class Tempformer(EncoderInterface):
|
||||
self, x
|
||||
):
|
||||
layer_outputs = []
|
||||
pos_emb = x[-1]
|
||||
for enum, encoder in enumerate(self.encoder_layers):
|
||||
x_ = x[enum].permute(1, 0, 2)
|
||||
encoder_output = encoder(x_)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user