parameters: (self)
docstring: Creates graph with nodes for trackable objects and functions.
  
      Adds functions for each trackable object to `self.nodes` and associated
      concrete functions to `self.concrete_functions` for serialization.
docstring_summary: Creates graph with nodes for trackable objects and functions.
docstring_tokens: Creates graph with nodes for trackable objects and functions .
function: def _initialize_nodes_and_concrete_functions(self):
      """Creates graph with nodes for trackable objects and functions.
  
      Adds functions for each trackable object to `self.nodes` and associated
      concrete functions to `self.concrete_functions` for serialization.
      """
      self.nodes = list(self._trackable_objects)
      self.concrete_functions = []
      self.gradient_functions = []
      self.gradient_defs = []
      self._seen_function_names = set()
      self._untraced_functions = []
  
      for obj in self.nodes:
        if isinstance(obj, (def_function.Function, defun.ConcreteFunction)):
          self._add_function_to_graph(obj)
  
        if obj in self._saveable_objects_map:
          for save_fn, restore_fn in self._saveable_objects_map[obj].values():
            self._add_function_to_graph(save_fn)
            self._add_function_to_graph(restore_fn)
  
      if self._untraced_functions:
        logging.warning(
            "Found untraced functions such as %s while saving (showing %d of %d)."
            " These functions will not be directly callable after loading.",
            ", ".join(self._untraced_functions[:_NUM_DISPLAY_UNTRACED_FUNCTIONS]),
            min(_NUM_DISPLAY_UNTRACED_FUNCTIONS, len(self._untraced_functions)),
            len(self._untraced_functions))
function_tokens: def _initialize_nodes_and_concrete_functions ( self ) : self . nodes = list ( self . _trackable_objects ) self . concrete_functions = [ ] self . gradient_functions = [ ] self . gradient_defs = [ ] self . _seen_function_names = set ( ) self . _untraced_functions = [ ] for obj in self . nodes : if isinstance ( obj , ( def_function . Function , defun . ConcreteFunction ) ) : self . _add_function_to_graph ( obj ) if obj in self . _saveable_objects_map : for save_fn , restore_fn in self . _saveable_objects_map [ obj ] . values ( ) : self . _add_function_to_graph ( save_fn ) self . _add_function_to_graph ( restore_fn ) if self . _untraced_functions : logging . warning ( "Found untraced functions such as %s while saving (showing %d of %d)." " These functions will not be directly callable after loading." , ", " . join ( self . _untraced_functions [ : _NUM_DISPLAY_UNTRACED_FUNCTIONS ] ) , min ( _NUM_DISPLAY_UNTRACED_FUNCTIONS , len ( self . _untraced_functions ) ) , len ( self . _untraced_functions ) )