code: def create_composite_loss(losses=None,
                            regularize=True,
                            include_marked=True,
                            name='cost'):
    
    books = for_default_graph()
    return books.create_composite_loss(losses,
                                       regularize,
                                       include_marked=include_marked,
                                       name=name)
docs: Creates a loss that is the sum of all specified losses.
  
    Args:
      losses: A sequence of losses to include.
      regularize: Whether or not to include regularization losses.
      include_marked: Whether or not to use the marked losses.
      name: The name for this variable.
    Returns:
      A single tensor that is the sum of all losses.