          --------
          :class:`tf.keras.mixed_precision.loss_scale_optimizer.LossScaleOptimizer`
              The original optimizer with loss scaling applied
          """
          return mixedprecision.LossScaleOptimizer(optimizer)
  
      @classmethod
      def _set_tf_settings(cls, allow_growth: bool, exclude_devices: List[int]) -> None:
          """ Specify Devices to place operations on and Allow TensorFlow to manage VRAM growth.
  
 
</s> remove     def _set_tf_settings(cls, allow_growth: bool, exclude_devices: List[int]) -> None:
 </s> add     def _set_tf_settings(cls, allow_growth: bool, exclude_devices: T.List[int]) -> None: </s> remove                  model_path: List[str],
 </s> add                  model_path: T.List[str], </s> remove                  plugin: "ModelBase",
 </s> add                  plugin: ModelBase, </s> remove             optimizer: keras.optimizers.Optimizer) -> mixedprecision.LossScaleOptimizer:
 </s> add             optimizer: tf.keras.optimizers.Optimizer) -> mixedprecision.LossScaleOptimizer: </s> remove         if get_backend() == "amd":  # Mixed precision not supported on amd
            return model

 </s> add 
        return mixedprecision.LossScaleOptimizer(optimizer)  # pylint:disable=no-member
          --------
          :class:`tf.keras.mixed_precision.loss_scale_optimizer.LossScaleOptimizer`
              The original optimizer with loss scaling applied
          """
        return mixedprecision.LossScaleOptimizer(optimizer)  # pylint:disable=no-member
  
      @classmethod
      def _set_tf_settings(cls, allow_growth: bool, exclude_devices: List[int]) -> None:
          """ Specify Devices to place operations on and Allow TensorFlow to manage VRAM growth.
  
keep keep keep keep 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