code: def lstm_recv(feat):
      hidden_dim = 128
      forward, _ = fluid.layers.dynamic_lstm(
          input=feat, size=hidden_dim * 4, use_peepholes=False
      )
      output = fluid.layers.sequence_last_step(forward)
      return output
  
imports: from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  from __future__ import unicode_literals
  import math
  import pgl
  import numpy
  import paddle
  import paddle.fluid.layers
  import paddle.fluid
  import paddle.fluid
label_desc: Use image node_id 5 for calling a global function with example usage: lstm_recv(feat) and returns: output