parameters: (saveables, seen_ops, saveable)
docstring: Adds the saveable to the saveables list.
  
    Args:
      saveables: List to append the SaveableObject to.
      seen_ops: Set of the ops of the saveables already processed.  Used to
        check that each saveable is only saved once.
      saveable: The saveable.
  
    Raises:
      ValueError: If the saveable has already been processed.
docstring_summary: Adds the saveable to the saveables list.
docstring_tokens: Adds the saveable to the saveables list .
function: def _add_saveable(saveables, seen_ops, saveable):
    """Adds the saveable to the saveables list.
  
    Args:
      saveables: List to append the SaveableObject to.
      seen_ops: Set of the ops of the saveables already processed.  Used to
        check that each saveable is only saved once.
      saveable: The saveable.
  
    Raises:
      ValueError: If the saveable has already been processed.
    """
    if saveable.op in seen_ops:
      raise ValueError("The same saveable will be restored with two names: %s" %
                       saveable.name)
    saveables.append(saveable)
    seen_ops.add(saveable.op)
function_tokens: def _add_saveable ( saveables , seen_ops , saveable ) : if saveable . op in seen_ops : raise ValueError ( "The same saveable will be restored with two names: %s" % saveable . name ) saveables . append ( saveable ) seen_ops . add ( saveable . op )