code: def forward(self, inputs, initial_state=None):
      embedding_vector = self.embedding(inputs)
      lstm_out, final_state = self.lstm(
          embedding_vector, initial_state=initial_state
      )
      logits = self.out_dense(lstm_out)
      return logits, final_state
  
file_path: TensorLayer/examples/text_generation/tutorial_generate_text.py
imports: import os
  import re
  import time
  import nltk
  import numpy
  import tensorflow
  import tensorlayer
  from tensorlayer.layers import *
  from tensorlayer.models import Model
label_desc: Use image node_id 2 for calling the Text_Generation_Net obj's underlying member method code with example usage: obj.forward(inputs, initial_state) and returns: logits,  final_state