          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.
  
          This is used for correct naming in the state file, for display purposes only.
  
          Adds the loss names to :attr:`names`
 
</s> remove         self._get_loss_names(model.outputs)
        self._get_loss_functions(model.output_names)
 </s> add         self._set_loss_names(model.outputs)
        self._set_loss_functions(model.output_names) </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             if get_backend() == "amd":
                self._funcs[output_name] = loss_func
            else:
                self._funcs.setdefault(output_name, []).append(loss_func)
        logger.debug(self._funcs)
 </s> add             self._funcs[output_name] = loss_func
        logger.debug("functions: %s", self._funcs) </s> remove                  "from float32.\nWhile mixed precision will run on most Nvidia models, it will "
 </s> add                  "from float32.\n\nWhile mixed precision will run on most Nvidia models, it will "
    def _set_loss_names(self, outputs):
          self._get_loss_names(model.outputs)
          self._get_loss_functions(model.output_names)
          self._names.insert(0, "total")
  
    def _set_loss_names(self, outputs):
          """ Name the losses based on model output.
  
          This is used for correct naming in the state file, for display purposes only.
  
          Adds the loss names to :attr:`names`
keep keep keep keep replace keep keep keep keep keep
 Training - Add L2 Regularization to Structural Losses 
plugins/train/model/_base.py