

def map_string2func(funcname, clss):
    '\n    Helper function that converts string function names to function calls\n    '
    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"))

dataset/ETHPy150Open NervanaSystems/neon/neon/backends/kernels/cuda/roipooling.py map_string2func/original