mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
add @torch.jit.export for streaming_forward func in Zipformer class (#1004)
This commit is contained in:
parent
5f066d3d53
commit
7c7d9ab042
@ -570,6 +570,7 @@ class Zipformer(EncoderInterface):
|
||||
|
||||
return x, lengths
|
||||
|
||||
@torch.jit.export
|
||||
def streaming_forward(
|
||||
self,
|
||||
x: torch.Tensor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user