Spaces:
Running
on
Zero
Running
on
Zero
chore: update encoder.py
Browse files
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
|
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
|