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:
committed by
GitHub
parent
b91dcf2261
commit
26dc9ba98d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user