code: def map_string2func(funcname, clss):
      """
      Helper function that converts string function names to function calls
      """
      if funcname == "fprop_roipooling":
          return _get_fprop_roipooling(clss)
      if funcname == "bprop_roipooling":
          return _get_bprop_roipooling(clss)
      raise AttributeError(
          "kernel type '" + funcname + "' not understood"
      )
  
imports: from neon.backends.util.source_module import SourceModule
  from pycuda.tools import context_dependent_memoize
label_desc: Use image node_id 1 for calling a global function with example usage: map_string2func(funcname, clss) and returns: _get_fprop_roipooling, _get_bprop_roipooling