code: def __init__(self, **kwargs):
      super().__init__(**kwargs)
      self.supports_masking = True
      self.pooling_op = None
      self.batch_pooling_op = None
  
imports: import tensorflow
  from tensorflow.keras import backend
  from tensorflow.keras import constraints, initializers, regularizers
  from tensorflow.keras.layers import Dense, Layer
  from spektral.layers import ops
label_desc: Use image node_id 1 to create a new GlobalPool object from inherited base classes: Layer with example: obj = GlobalPool()