def gen_function_decl(
    func_attrs: Dict[str, Any],
    backend_spec,
) -> str:
    """
    Parameters
    ----------
    func_attrs : dict
        Attributes from Operator
    backend_spec : class
        specifies the backend configs

    Returns
    -------
    str
        Function declaration
    """
    func_name = func_attrs["name"]
    return FUNC_DECL_TEMPLATE.render(
        func_name=func_name,
        prefix=backend_spec.prefix,
    )
Parameters
----------
func_attrs : dict
Attributes from Operator
backend_spec : class
specifies the backend configs

Returns
-------
str
Function declaration
python/aitemplate/backend/common/tensor/permute210_common.py