def lstm_cell(self): cell = rnn.LSTMCell(self.num_hidden) cell = rnn.DropoutWrapper(cell,self.dropout) return cell