code: def get_norm(norm_type, n_channels, D, bn_momentum=0.1):
      if norm_type == NormType.BATCH_NORM:
          return ME.MinkowskiBatchNorm(n_channels, momentum=bn_momentum)
      elif norm_type == NormType.INSTANCE_NORM:
          return ME.MinkowskiInstanceNorm(n_channels)
      elif norm_type == NormType.INSTANCE_BATCH_NORM:
          return nn.Sequential(
              ME.MinkowskiInstanceNorm(n_channels),
              ME.MinkowskiBatchNorm(n_channels, momentum=bn_momentum),
          )
      else:
          raise ValueError(f"Norm type: {norm_type} not supported")
  
file_path: torch-points3d/torch_points3d/modules/MinkowskiEngine/common.py
imports: import collections
  from enum import Enum
  import torch.nn
  import MinkowskiEngine
label_desc: Use image node_id 1 for calling a global function with example usage: get_norm(norm_type, n_channels, D, bn_momentum) and returns: ME, ME, nn