          model: :class:`keras.models.Model`
              The model that is to be trained
          """
          self._inputs = model.inputs
          self._get_loss_names(model.outputs)
          self._get_loss_functions(model.output_names)
          self._names.insert(0, "total")
  
      def _get_loss_names(self, outputs):
          """ Name the losses based on model output.
  
 
</s> remove     def _get_loss_names(self, outputs):
 </s> add     def _set_loss_names(self, outputs): </s> remove     def _get_loss_functions(self, output_names):
        """ Set the loss functions.
 </s> add     def _set_loss_functions(self, output_names):
        """ Set the loss functions and their associated weights. </s> remove                  "of the image.\n")
 </s> add                  "of the image.")
        self._set_loss_names(model.outputs)
        self._set_loss_functions(model.output_names)
          model: :class:`keras.models.Model`
              The model that is to be trained
          """
          self._inputs = model.inputs
        self._set_loss_names(model.outputs)
        self._set_loss_functions(model.output_names)
        self._set_loss_names(model.outputs)
        self._set_loss_functions(model.output_names)
          self._names.insert(0, "total")
  
      def _get_loss_names(self, outputs):
          """ Name the losses based on model output.
  
keep keep keep keep replace replace keep keep keep keep keep
 Training - Add L2 Regularization to Structural Losses 
plugins/train/model/_base.py