1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-10 21:24:16 +08:00

fix(train): mysterious importing order

This commit is contained in:
源文雨
2024-06-16 19:33:23 +09:00
parent add4642b7e
commit d9a116f4f7
3 changed files with 6 additions and 5 deletions

View File

@@ -192,7 +192,7 @@ class PosteriorEncoder(nn.Module):
def __call__(
self, x: torch.Tensor, x_lengths: torch.Tensor, g: Optional[torch.Tensor] = None
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
super().__call__(x, x_lengths, g=g)
return super().__call__(x, x_lengths, g=g)
def forward(
self, x: torch.Tensor, x_lengths: torch.Tensor, g: Optional[torch.Tensor] = None