def get_top_level_function_name(obj: Any) -> str:
    """Return the fully-qualified name of a top-level function."""
    assert is_top_level_function(obj)
    return obj.__module__ + "." + obj.__name__
Return the fully-qualified name of a top-level function.
converters/stylegan2_official/dnnlib/util.py