cywang97 / StreamingTransformer

Apache License 2.0
272 stars 42 forks source link

Is it Streaming? #20

Closed Dan1chu closed 2 years ago

Dan1chu commented 3 years ago

I think that the code you provided seems not to support streaming mode.

In real streaming condition, recognizer can't get full sequence of Data.

But prefix_recognize() is assuming to receive the full sequence and perform encoding only one time;