소스 검색

chore: update encoder.py

prefered -> preferred
Ikko Eltociear Ashimine 1 년 전
부모
커밋
a44bf2bf63
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cosyvoice/transformer/encoder.py

+ 1 - 1
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