eltociear commited on
Commit
a44bf2b
1 Parent(s): 6be8d0f

chore: update encoder.py

Browse files
Files changed (1) hide show
  1. cosyvoice/transformer/encoder.py +1 -1
cosyvoice/transformer/encoder.py CHANGED
@@ -297,7 +297,7 @@ class BaseEncoder(torch.nn.Module):
297
  rate.
298
  3. Currently, nn.Sequential is used to stack all the convolution
299
  layers in subsampling, we need to rewrite it to make it work
300
- with cache, which is not prefered.
301
  Args:
302
  xs (torch.Tensor): (1, max_len, dim)
303
  chunk_size (int): decoding chunk size
 
297
  rate.
298
  3. Currently, nn.Sequential is used to stack all the convolution
299
  layers in subsampling, we need to rewrite it to make it work
300
+ with cache, which is not preferred.
301
  Args:
302
  xs (torch.Tensor): (1, max_len, dim)
303
  chunk_size (int): decoding chunk size