mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 17:42:21 +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
|
return x, lengths
|
||||||
|
|
||||||
|
@torch.jit.export
|
||||||
def streaming_forward(
|
def streaming_forward(
|
||||||
self,
|
self,
|
||||||
x: torch.Tensor,
|
x: torch.Tensor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user