code: def sanitize_name(name):
      global registered_names
      name = re.sub(r"type-parameter-0-([0-9]+)", r"T\1", name)
      for k, v in CPP_OPERATORS.items():
          name = name.replace("operator%s" % k, "operator_%s" % v)
      name = re.sub("<.*>", "", name)
      name = "".join([ch if ch.isalnum() else "_" for ch in name])
      name = re.sub("_$", "", re.sub("_+", "_", name))
      if name in registered_names:
          registered_names[name] += 1
          name += "_" + str(registered_names[name])
      else:
          registered_names[name] = 1
      return "__doc_" + name
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/pybind11/tools/mkdoc.py
imports: import os
  import sys
  import platform
  import re
  import textwrap
  from clang import cindex
  from clang.cindex import CursorKind
  from collections import OrderedDict
  from threading import Thread, Semaphore
  from multiprocessing import cpu_count
label_desc: Use image node_id 2 for calling a global function with example usage: sanitize_name(name) and returns: unknown