code: def d2hpat(arg, ty, fn):
      def flt(arg, t):
          rtype = d2cy(t)
          if fn in hpat_types and arg in hpat_types[fn]:
              return hpat_types[fn][arg]
          return (
              "dtable_type"
              if "NumericTablePtr" in rtype
              else rtype.replace("ModelPtr", "model").replace(" ", "")
          )
  
      return (
          [flt(x, y) for x, y in zip(arg, ty)]
          if isinstance(ty, list)
          else flt(arg, ty)
      )
  
file_path: scikit-learn-intelex/generator/wrapper_gen.py
imports: import re
  import jinja2
  from jinja2 import select_autoescape
  from .wrappers import hpat_types
label_desc: Use image node_id 3 for calling a global function with example usage: d2hpat(arg, ty, fn) and returns: unknown, unknown, hpat_types