code: def func_global_max_pooling(self, x, batch):
      if self._use_scatter_pooling:
          return global_max_pool(x, batch)
      else:
          return x.max(1)[0]
  
imports: import torch
  from torch_geometric.nn import global_max_pool, global_mean_pool
  from torch_points3d.core.common_modules.base_modules import *
  from torch_points3d.core.common_modules.spatial_transform import BaseLinearTransformSTNkD
  from torch_points3d.models.base_model import BaseInternalLossModule
label_desc: Use image node_id 3 for calling the PointNetSeg obj's underlying member method code with example usage: obj.func_global_max_pooling(x, batch) and returns: global_max_pool, x