mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-04 17:39:25 +08:00
chore: update encoder.py
prefered -> preferred
This commit is contained in:
committed by
GitHub
parent
6be8d0fc36
commit
a44bf2bf63
@@ -297,7 +297,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
|
||||
|
||||
Reference in New Issue
Block a user