code: def _get_module_func_raw(module, func_name, *template_args):
      args_dtypes = [
          _get_raw_typename(arg.dtype) for arg in template_args
      ]
      template = "_".join(args_dtypes)
      kernel_name = (
          f"{func_name}_{template}" if template_args else func_name
      )
      kernel = module.get_function(kernel_name)
      return kernel
  
file_path: cupy/cupyx/scipy/signal/_spectral_impl.py
imports: import warnings
  import cupy
  from cupy_backends.cuda.api import runtime
  import cupyx.scipy.signal._signaltools
  from cupyx.scipy.signal._arraytools import odd_ext, even_ext, zero_ext, const_ext, _as_strided
  from cupyx.scipy.signal.windows._windows import get_window
label_desc: Use image node_id 2 for calling a global function with example usage: _get_module_func_raw(module, func_name) and returns: kernel