docstr: Returns the config of the object.
  
  An object config is a Python dictionary (serializable)
  containing the information needed to re-instantiate it.
docstr_tok: ["Returns","the","config","of","the","object",".","An","object","config","is","a","Python","dictionary","(","serializable",")","containing","the","information","needed","to","re-instantiate","it","."]
code: def get_config(self):
      """Returns the config of the object.
  
      An object config is a Python dictionary (serializable)
      containing the information needed to re-instantiate it.
      """
      config = {
          "name": self.name,
      }
  
      if not python_utils.is_default(self.get_config):
          # In this case the subclass implements get_config()
          return config
  
      # In this case the subclass doesn't implement get_config():
      # Let's see if we can autogenerate it.
      if getattr(self, "_auto_config", None) is not None:
          xtra_args = set(config.keys())
          config.update(self._auto_config.config)
          # Remove args non explicitly supported
          argspec = inspect.getfullargspec(self.__init__)
          if argspec.varkw != "kwargs":
              for key in xtra_args - xtra_args.intersection(
                  argspec.args[1:]
              ):
                  config.pop(key, None)
          return config
      else:
          raise NotImplementedError(
              textwrap.dedent(
                  f"""
          Object {self.__class__.__name__} was created by passing
          non-serializable argument values in `__init__()`,
          and therefore the object must override `get_config()` in
          order to be serializable. Please implement `get_config()`.
  
          Example:
  
          class CustomLayer(keras.layers.Layer):
              def __init__(self, arg1, arg2, **kwargs):
                  super().__init__(**kwargs)
                  self.arg1 = arg1
                  self.arg2 = arg2
  
              def get_config(self):
                  config = super().get_config()
                  config.update({
                      "arg1": self.arg1,
                      "arg2": self.arg2,
                  })
                  return config"""
              )
          )
  
imports: import inspect
  import textwrap
  import tree
  from keras import backend
  from keras.api_export import keras_export
  from keras.backend.common.keras_tensor import any_symbolic_tensors
  from keras.ops.node import Node
  from keras.utils import python_utils
  from keras.utils import traceback_utils
  from keras.utils.naming import auto_name
label_desc: Use image node_id 7 for calling the Operation obj's underlying member method code with example usage: obj.get_config() and returns: config, config