Merge branch 'main' into inference_streaming

This commit is contained in:
Xiang Lyu
2024-08-29 23:48:02 +08:00
committed by GitHub
13 changed files with 750 additions and 1 deletions

View File

@@ -299,7 +299,7 @@ class BaseEncoder(torch.nn.Module):
rate.
3. Currently, nn.Sequential is used to stack all the convolution
layers in subsampling, we need to rewrite it to make it work
with cache, which is not prefered.
with cache, which is not preferred.
Args:
xs (torch.Tensor): (1, max_len, dim)
chunk_size (int): decoding chunk size