1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-09 20:40:48 +08:00

optimize(rvc.utils): more type defs & rename

This commit is contained in:
源文雨
2024-06-07 19:33:45 +09:00
parent c10c527264
commit 49488dcae9
6 changed files with 41 additions and 75 deletions

View File

@@ -5,9 +5,6 @@ from .attentions import (
TextEncoder,
ResidualCouplingBlock,
PosteriorEncoder,
Generator,
SineGen,
SourceModuleHnNSF,
GeneratorNSF,
)
@@ -15,7 +12,7 @@ from .attentions import (
class SynthesizerTrnMsNSFsidM(nn.Module):
def __init__(
self,
spec_channels,
spec_channels: int,
segment_size,
inter_channels,
hidden_channels,