          -------
          :class:`keras.models.Model`
              The original model with the datatype updated
          """
          if get_backend() == "amd":  # Mixed precision not supported on amd
              return model
  
          if self.use_mixed_precision and not state.mixed_precision_layers:
              # Switching to mixed precision on a model which was started in FP32 prior to the
              # ability to switch between precisions on a saved model is not supported as we
              # do not have the compatible layer names
              logger.warning("Switching from Full Precision to Mixed Precision is not supported on "
 
</s> remove         if get_backend() == "amd":
            logger.debug("Mixed Precision not supported for AMD. Returning empty list")
            return []
 </s> add  </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  </s> remove     which should work on both TF and Plaid.
 </s> add     which should work on TF. </s> remove "[Not PlaidML], NVIDIA GPUs can run operations in float16 faster than in "
 </s> add "NVIDIA GPUs can run operations in float16 faster than in " </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 
          -------
          :class:`keras.models.Model`
              The original model with the datatype updated
          """



          if self.use_mixed_precision and not state.mixed_precision_layers:
              # Switching to mixed precision on a model which was started in FP32 prior to the
              # ability to switch between precisions on a saved model is not supported as we
              # do not have the compatible layer names
              logger.warning("Switching from Full Precision to Mixed Precision is not supported on "
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