def get_signature_start(function):
    """For the Dense layer, it should return the string 'keras.layers.Dense'"""
    if utils.ismethod(function):
        prefix = f"{utils.get_class_from_method(function).__name__}."
    else:
        try:
            prefix = f"{function.__module__}."
        except AttributeError:
            warnings.warn(
                f"function {function} has no module. "
                f"It will not be included in the signature."
            )
            prefix = ""

    return f"{prefix}{function.__name__}"
For the Dense layer, it should return the string 'keras.layers.Dense'
docs/keras_autodoc/get_signatures.py