code: def __init__(self, pool_type=None):
      super().__init__()
      self.pool_type = pool_type
      self.pool_fun = gnn.GraphPool("sum")
  
imports: import os
  import sys
  import math
  import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  import pgl.nn
  from pgl.utils.logger import log
  import models.conv
  import models.mol_encoder
  import models.layers
label_desc: Use image node_id 1 to create a new MeanGlobalPool object from inherited base classes: paddle.nn with example: obj = MeanGlobalPool(pool_type)