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
04800893e1
commit
7a2448d887
Binary file not shown.
@ -196,8 +196,9 @@ class Conformer(EncoderInterface):
|
||||
) # (T, N, C)
|
||||
|
||||
x = x.permute(1, 0, 2) # (T, N, C) ->(N, T, C)
|
||||
layer_outputs = [x.permute(1, 0, 2) for x in layer_outputs]
|
||||
|
||||
return x, lengths
|
||||
return x, lengths, layer_outputs
|
||||
|
||||
@torch.jit.export
|
||||
def get_init_state(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user