mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
unused instance vars
This commit is contained in:
@@ -355,9 +355,6 @@ class Decoder(nn.Module):
|
||||
for idx in range(len(self.decoder_rnns))
|
||||
]
|
||||
self.context_vec = inputs.data.new(B, self.in_features).zero_()
|
||||
# attention states
|
||||
self.attention = inputs.data.new(B, T).zero_()
|
||||
self.attention_cum = inputs.data.new(B, T).zero_()
|
||||
# cache attention inputs
|
||||
self.processed_inputs = self.attention.inputs_layer(inputs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user