code: def __init__(self, nn, aggr="max", *args, **kwargs):
      super(GlobalPartialDenseBaseModule, self).__init__()
  
      self.nn = MLP(nn)
      self.pool = global_max_pool if aggr == "max" else global_mean_pool
  
imports: 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.spatial_ops import *
  from .base_conv import BaseConvolution
  from torch_points3d.core.common_modules.base_modules import BaseModule
  from torch_points3d.core.common_modules import MLP
label_desc: Use image node_id 1 to create a new GlobalPartialDenseBaseModule object from inherited base classes: torch.nn with example: obj = GlobalPartialDenseBaseModule(nn, aggr)