              to mixed precision
          """
          logger.info("Storing Mixed Precision compatible layers. Please ignore any following "
                      "warnings about using mixed precision.")
          if get_backend() == "amd":
              logger.debug("Mixed Precision not supported for AMD. Returning empty list")
              return []
          self._set_keras_mixed_precision(True)
          model = build_func(inputs)
          layers = self._get_mixed_precision_layers(model.get_config()["layers"])
          self._set_keras_mixed_precision(False)
          del model
 
</s> remove         if get_backend() == "amd":  # Mixed precision not supported on amd
            return model

 </s> add  </s> remove         if get_backend() == "amd":
            logger.debug("No action to perform for 'mixed_precision' on backend '%s': "
                         "use_mixed_precision: %s)", get_backend(), use_mixed_precision)
            return False

 </s> add  </s> remove     def add_mixed_precision_layers(self, layers: List[str]) -> None:
 </s> add     def add_mixed_precision_layers(self, layers: T.List[str]) -> None: </s> remove     def _get_mixed_precision_layers(self, layers: List[dict]) -> List[str]:
 </s> add     def _get_mixed_precision_layers(self, layers: T.List[dict]) -> T.List[str]: </s> remove         It is important to note that any models and sub-models should not call
        :class:`keras.models.Model` directly, but rather call
        :class:`plugins.train.model._base.KerasModel`. This acts as a wrapper for Keras' Model
        class, but handles some minor differences which need to be handled between Nvidia and AMD
        backends.

 </s> add 
              to mixed precision
          """
          logger.info("Storing Mixed Precision compatible layers. Please ignore any following "
                      "warnings about using mixed precision.")



          self._set_keras_mixed_precision(True)
          model = build_func(inputs)
          layers = self._get_mixed_precision_layers(model.get_config()["layers"])
          self._set_keras_mixed_precision(False)
          del model
keep keep keep keep replace replace replace keep keep keep keep keep
 Remove plaidML support (#1325)

* Remove PlaidML reference from readme files

* Remove AMD option from installers

* remove amd requirements and update setup.py

* remove plaidml test from CI workflow

* gpustats: remove plaidml backend

* plaid removals:
  - faceswap.py - python version check
  - setup.cfg - plaidml typing ignore
  - lib.keras_utils - All plaid code
  - lib.launcher.py - All plaidml checks and configuration

* remove tf2.2 specific code from GUI event reader

* lib.model - remove all plaidml implementations

* plugins.extract - remove plaidml code

* plugins.train remove plaidml code

* lib.convert - remove plaidml code

* tools.model: remove plaidml code

* Remove plaidML tests from unit tests

* remove plaidml_utils and docsting cleanups

* Remove plaidML refs from configs

* fix keras imports 
plugins/train/model/_base/settings.py