add @torch.jit.export for streaming_forward func in Zipformer class (#1004)

This commit is contained in:
Zengwei Yao 2023-04-17 12:03:52 +08:00 committed by GitHub
parent 5f066d3d53
commit 7c7d9ab042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -570,6 +570,7 @@ class Zipformer(EncoderInterface):
return x, lengths
@torch.jit.export
def streaming_forward(
self,
x: torch.Tensor,