code: 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__}"
  
file_path: autokeras/docs/keras_autodoc/get_signatures.py
imports: import inspect
  import warnings
  import black
  from sphinx.util.inspect import signature
  from sphinx.util.inspect import stringify_signature
  from .None import utils
label_desc: Use image node_id 1 for calling a global function with example usage: get_signature_start(function) and returns: prefix, function