code: def patch_class_to_main(cls):
      import __main__
  
      setattr(__main__, cls.__name__, cls)
      cls.__module__ = "__main__"
      return cls
  
file_path: icevision/icevision/utils/utils.py
imports: from icevision.imports import *
label_desc: Use image node_id 16 for calling a global function with example usage: patch_class_to_main(cls) and returns: cls