From a44bf2bf63c4f2724196e81e3fb5bbda2bb3c57b Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Thu, 8 Aug 2024 15:23:05 +0900 Subject: [PATCH] chore: update encoder.py prefered -> preferred --- cosyvoice/transformer/encoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosyvoice/transformer/encoder.py b/cosyvoice/transformer/encoder.py index 7e8bd23..b757b38 100644 --- a/cosyvoice/transformer/encoder.py +++ b/cosyvoice/transformer/encoder.py @@ -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