code: def convert_region_type(region_type):
      """
      Convert the integer region_type to the corresponding RegionType enum object.
      """
      return int_to_region_type[region_type]
  
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 2 for calling a global function with example usage: convert_region_type(region_type) and returns: int_to_region_type