def lstm_fw(self): lstm_fw = rnn.LSTMCell(self.hidden_neural_size) lstm_fw = rnn.DropoutWrapper(lstm_fw, self.dropout) return lstm_fw