From fb7c5b1996532ccc5b214b9b6e462c574b037dbd Mon Sep 17 00:00:00 2001 From: Thomas Werkmeister Date: Tue, 23 Jul 2019 20:02:31 +0200 Subject: [PATCH] unused instance vars --- layers/tacotron.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/layers/tacotron.py b/layers/tacotron.py index 068ae7cc..31d6cd84 100644 --- a/layers/tacotron.py +++ b/layers/tacotron.py @@ -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)