code: def _get_input_type(arg):
      if isinstance(arg, int):
          return "l"
      if isinstance(arg, float):
          return "d"
      if isinstance(arg, complex):
          return "D"
      return arg.dtype.char
  
file_path: cupy/cupy/_functional/vectorize.py
imports: import numpy
  from cupy import _core
  from cupyx.jit import _interface
  from cupyx.jit import _cuda_types
label_desc: Use image node_id 1 for calling a global function with example usage: _get_input_type(arg) and returns: arg, str, str, str