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

chore(format): run black on dev (#11)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-08 00:46:57 +09:00
committed by GitHub
parent b91dcf2261
commit 26dc9ba98d
7 changed files with 11 additions and 13 deletions

View File

@@ -263,7 +263,7 @@ class FFN(nn.Module):
x = self.conv_2(self._padding(x, x_mask))
return x * x_mask
def _padding(self, x: torch.Tensor, x_mask: torch.Tensor) -> torch.Tensor:
if self.causal:
return self._causal_padding(x * x_mask)