code: def lstm_recv(hidden_dim):
      """doc"""
  
      def lstm_recv_inside(feat):
          forward, _ = L.dynamic_lstm(
              input=feat, size=hidden_dim * 4, use_peepholes=False
          )
          output = L.sequence_last_step(forward)
          return output
  
      return lstm_recv_inside
  
file_path: PGL/legacy/pgl/message_passing.py
imports: import numpy
  import paddle
  import paddle.fluid
  import paddle.fluid.layers
  from pgl.utils import paddle_helper
label_desc: Use image node_id 6 for calling a global function with example usage: lstm_recv(hidden_dim) and returns: lstm_recv_inside, output