'Create the initial state for the cell and the data embeddings.'

def _create_initstate_and_embeddings(self):

    self._init_state = self.cell.zero_state(self.batch_size, tf.float32)
    embedding = tf.get_variable('embedding', [self.vocab_size, self.num_hidden])
    inputs = tf.nn.embedding_lookup(embedding, self.input_data)
    self.inputs = tf.nn.dropout(inputs, self.dropout)
