from local

This commit is contained in:
dohe0342 2023-01-03 22:42:11 +09:00
parent e97bb032bb
commit 88f0e738b9
2 changed files with 2 additions and 0 deletions

View File

@ -197,6 +197,8 @@ class Conformer(EncoderInterface):
x = x.permute(1, 0, 2) # (T, N, C) ->(N, T, C) x = x.permute(1, 0, 2) # (T, N, C) ->(N, T, C)
layer_output = [x.permute(1, 0, 2) for x in layer_output]
return x, lengths return x, lengths
@torch.jit.export @torch.jit.export