mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
pylint
This commit is contained in:
1 parent
447176258c
commit
89918c6e53
1 file changed
+1
-2
@@ -177,8 +177,7 @@ class TacotronAbstract(ABC, nn.Module):
|
||||
elif style_input is None:
|
||||
gst_outputs = torch.zeros(1, 1, self.gst_embedding_dim).to(device)
|
||||
else:
|
||||
# pylint: disable=not-callable
|
||||
gst_outputs = self.gst_layer(style_input)
|
||||
gst_outputs = self.gst_layer(style_input) # pylint: disable=not-callable
|
||||
embedded_gst = gst_outputs.repeat(1, inputs.size(1), 1)
|
||||
return inputs, embedded_gst
|
||||
|
||||
|
||||
Reference in new issue
Block a user