                       allow_growth, is_predict)
          self._set_tf_settings(allow_growth, arguments.exclude_gpus)
  
          use_mixed_precision = not is_predict and mixed_precision and get_backend() == "nvidia"
          self._use_mixed_precision = self._set_keras_mixed_precision(use_mixed_precision,
                                                                      bool(arguments.exclude_gpus))
  
          distributed = False if not hasattr(arguments, "distributed") else arguments.distributed
          self._strategy = self._get_strategy(distributed)
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove         logger.debug("use_mixed_precision: %s, exclude_gpus: %s",
                     use_mixed_precision, exclude_gpus)
        if not use_mixed_precision:
 </s> add         logger.debug("use_mixed_precision: %s", use_mixed_precision)
        if not use_mixed_precision and get_backend() == "amd": </s> remove         self._config = {}
 </s> add         self._config: Dict[str, Union[str, float, int, bool, None]] = {}
        self._use_mixed_precision = self._set_keras_mixed_precision(use_mixed_precision)
        if self._use_mixed_precision:
            logger.info("Enabling Mixed Precision Training.")
                       allow_growth, is_predict)
          self._set_tf_settings(allow_growth, arguments.exclude_gpus)
  
          use_mixed_precision = not is_predict and mixed_precision and get_backend() == "nvidia"
        self._use_mixed_precision = self._set_keras_mixed_precision(use_mixed_precision)
        if self._use_mixed_precision:
            logger.info("Enabling Mixed Precision Training.")
        self._use_mixed_precision = self._set_keras_mixed_precision(use_mixed_precision)
        if self._use_mixed_precision:
            logger.info("Enabling Mixed Precision Training.")
  
          distributed = False if not hasattr(arguments, "distributed") else arguments.distributed
          self._strategy = self._get_strategy(distributed)
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep keep keep replace replace keep keep keep keep keep
 Enable change of precision for existing models 
plugins/train/model/_base/settings.py