mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-08 16:00:01 +08:00
删除无用注释
This commit is contained in:
parent
0a0e3634c7
commit
c930f3d740
@ -462,7 +462,7 @@ class Text2SemanticDecoder(nn.Module):
|
|||||||
value=True,
|
value=True,
|
||||||
)
|
)
|
||||||
y_attn_mask = F.pad(
|
y_attn_mask = F.pad(
|
||||||
torch.triu(torch.ones(y_len, y_len, dtype=torch.bool), diagonal=0),# diagonal必须为0,否则会导致batch_size>1时的复读情况
|
torch.triu(torch.ones(y_len, y_len, dtype=torch.bool), diagonal=0),
|
||||||
(x_len, 0),
|
(x_len, 0),
|
||||||
value=False,
|
value=False,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user