code: def __init__(self, nn, aggr="max", *args, **kwargs):
      super(GlobalBaseModule, self).__init__()
      self.nn = MLP(nn)
      self.pool = global_max_pool if aggr == "max" else global_mean_pool
  
imports: from abc import abstractmethod
  from typing import *
  import torch
  from torch.nn import Linear, ReLU, LeakyReLU, BatchNorm1d, Dropout
  from torch_geometric.nn import knn_interpolate, fps, radius, global_max_pool, global_mean_pool, knn
  from torch_geometric.data import Batch
  from torch_points3d.core.base_conv.base_conv import *
  from torch_points3d.core.common_modules import *
  from torch_points3d.core.spatial_ops import *
label_desc: Use image node_id 1 to create a new GlobalBaseModule object from inherited base classes: torch.nn with example: obj = GlobalBaseModule(nn, aggr)