                                 ssim=losses.DSSIMObjective(),
                                 gmsd=losses.GMSDLoss(),
                                 pixel_gradient_diff=losses.GradientLoss())
          self._inputs = None
          self._names = None
          self._funcs = None
          logger.debug("Initialized: %s", self.__class__.__name__)
  
      @property
      def names(self):
          """ list: The list of loss names for the model. """
 
</s> remove         """ list: The list of loss functions for the model. """
 </s> add         """ dict: The loss functions that apply to each model output. """ </s> remove     def configure(self, inputs, outputs):
 </s> add     def configure(self, model): </s> remove         inputs: list
            A list of input tensors to the model in the order ("a", "b")
        outputs: list
            A list of output tensors to the model in the order ("a", "b")
 </s> add         model: :class:`keras.models.Model`
            The model that is to be trained </s> remove         self._inputs = inputs
        self._names = self._get_loss_names(outputs)
        self._funcs = self._get_loss_functions()
 </s> add         self._inputs = model.inputs
        self._get_loss_names(model.outputs)
        self._get_loss_functions(model.output_names) </s> remove         Returns
        -------
        list
            A list of loss functions to apply to the model
 </s> add         Adds the loss functions to the :attr:`functions` dictionary.

        Parameters
        ----------
        output_names: list
            The output names from the model
        self._names = []
        self._funcs = dict()
                                 ssim=losses.DSSIMObjective(),
                                 gmsd=losses.GMSDLoss(),
                                 pixel_gradient_diff=losses.GradientLoss())
          self._inputs = None
        self._names = []
        self._funcs = dict()
        self._names = []
        self._funcs = dict()
          logger.debug("Initialized: %s", self.__class__.__name__)
  
      @property
      def names(self):
          """ list: The list of loss names for the model. """
keep keep keep keep replace replace keep keep keep keep keep
 training - Use explicit loss dictionaries to map to outputs 
plugins/train/model/_base.py