def gen_function_decl(func_attrs) -> str:
    """a common function for generating the function declaration of a
    reduce-family kernel

    Parameters
    ----------
    func_attrs : Dit[str, Any]
        holds attributes of this reduce op

    Returns
    -------
    str
        returns the rendered function declaration with appropriate replacements
    """
    return FUNC_DECL_TEMPLATE.render(func_name=func_attrs["name"])
a common function for generating the function declaration of a
reduce-family kernel

Parameters
----------
func_attrs : Dit[str, Any]
holds attributes of this reduce op

Returns
-------
str
returns the rendered function declaration with appropriate replacements
python/aitemplate/backend/cuda/reduce/reduce_3d.py