def gen_function_decl(func_attrs):
    """Generate function declaration.

    Parameters
    ----------
    func_attrs : Dict[str, Any]
        Stores the operation attributes.
    Returns
    -------
    str
        Rendered function declaration.
    """
    return slice_reshape_scatter_common.gen_function_decl(func_attrs, CUDASpec())
Generate function declaration.

Parameters
----------
func_attrs : Dict[str, Any]
Stores the operation attributes.
Returns
-------
str
Rendered function declaration.
python/aitemplate/backend/cuda/tensor/slice_reshape_scatter.py