code: def softmax_agg(beta):
      """Implementation of softmax_agg aggregator, see more information in the paper
      "DeeperGCN: All You Need to Train Deeper GCNs"
      (https://arxiv.org/pdf/2006.07739.pdf)
  
      Args:
          msg: the received message, lod-tensor, (batch_size, seq_len, hidden_size)
          beta: Inverse Temperature
  
      Return:
          An output tensor with shape (num_nodes, hidden_size)
      """
  
      def softmax_agg_inside(msg):
          alpha = paddle_helper.sequence_softmax(msg, beta)
          msg = msg * alpha
          return L.sequence_pool(msg, "sum")
  
      return softmax_agg_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 11 for calling a global function with example usage: softmax_agg(beta) and returns: softmax_agg_inside, L