def get(func_name: str) -> Callable:
    """Get a function from registry by using a key

    Example

    .. highlight:: python
    .. code-block:: python

        func = registry.get("func_name")
        func(args)



    Parameters
    ----------
    func_name : str
        Key for function in registry

    Returns
    -------
    Callable
        Function associated with the key

    Raises
    ------
    RuntimeError
        If key is not founded in registry, will raise a RuntimeError
    """
    if func_name not in BACKEND_FUNCTIONS:
        raise RuntimeError(f"{func_name} function has not been registered.")
    return BACKEND_FUNCTIONS[func_name]
Get a function from registry by using a key

    Example

    .. highlight:: python
    .. code-block:: python

        func = registry.get("func_name")
        func(args)



    Parameters
    ----------
    func_name : str
        Key for function in registry

    Returns
    -------
    Callable
        Function associated with the key

    Raises
    ------
    RuntimeError
        If key is not founded in registry, will raise a RuntimeError
    
python/aitemplate/backend/registry.py