      """
      def __init__(self, config: dict) -> None:
          logger.debug("Initializing %s", self.__class__.__name__)
          self._config = config
          logcosh = losses.LogCosh() if get_backend() == "amd" else k_losses.logcosh
          self._loss_dict = dict(ffl=losses.FocalFrequencyLoss(),
                                 gmsd=losses.GMSDLoss(),
                                 l_inf_norm=losses.LInfNorm(),
                                 laploss=losses.LaplacianPyramidLoss(),
                                 logcosh=logcosh,
                                 ms_ssim=losses.MSSIMLoss(),
                                 mae=k_losses.mean_absolute_error,
                                 mse=k_losses.mean_squared_error,
                                 pixel_gradient_diff=losses.GradientLoss(),
                                 ssim=losses.DSSIMObjective(),
                                 smooth_loss=losses.GeneralizedLoss(),)
          self._mask_channels = self._get_mask_channels()
          self._inputs: List[keras.layers.Layer] = []
          self._names: List[str] = []
          self._funcs: Dict[str, Callable] = {}
          logger.debug("Initialized: %s", self.__class__.__name__)
 
</s> remove             name = "af_subframe_{}".format(idx)
 </s> add             name = f"af_subframe_{idx}" </s> remove         self.group_frames = dict()
        self._sub_group_frames = dict()
 </s> add         self.group_frames = {}
        self._sub_group_frames = {} </s> remove         seen = {name: 0 for name in set(self._model.output_names)}
 </s> add         seen = {name: 0 for name in set(self.model.output_names)} </s> remove         for name in self._model.output_names:
 </s> add         for name in self.model.output_names:
      """
      def __init__(self, config: dict) -> None:
          logger.debug("Initializing %s", self.__class__.__name__)
          self._config = config












          self._mask_channels = self._get_mask_channels()
          self._inputs: List[keras.layers.Layer] = []
          self._names: List[str] = []
          self._funcs: Dict[str, Callable] = {}
          logger.debug("Initialized: %s", self.__class__.__name__)
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Core updates
   - Change loss loading mechanism
   - Autosize tooltips based on content size
   - Random linting + code modernisation 
plugins/train/model/_base/settings.py