code: def run_lstm(init_state, input_vecs):
      s = init_state
  
      out_vectors = []
      for vector in input_vecs:
          s = s.add_input(vector)
          out_vector = s.output()
          out_vectors.append(out_vector)
      return out_vectors
  
file_path: dynet/examples/sequence-to-sequence/attention.py
imports: import dynet
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: run_lstm(init_state, input_vecs) and returns: out_vectors