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