mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
unused instance vars
This commit is contained in:
1 parent
82db35530f
commit
fb7c5b1996
1 file changed
-3
@@ -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