          compatible: List
              A list of layer names that are compatible to have their datatype switched
          """
          dtype = "mixed_float16" if self.use_mixed_precision else "float32"
          policy = dict(class_name="Policy", config=dict(name=dtype))
  
          for layer in layers:
              config = layer["config"]
  
              if layer["class_name"] == "Functional":  # Recurse into sub-models
 
</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         if get_backend() == "amd":  # Mixed precision not supported on amd
            return model

 </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         masks3: Union[List[np.ndarray], np.ndarray] = []
 </s> add         masks3: T.Union[T.List[np.ndarray], np.ndarray] = [] </s> remove     def _switch_precision(self, layers: List[dict], compatible: List[str]) -> None:
 </s> add     def _switch_precision(self, layers: T.List[dict], compatible: T.List[str]) -> None:
        policy = {"class_name": "Policy", "config": {"name": dtype}}
          compatible: List
              A list of layer names that are compatible to have their datatype switched
          """
          dtype = "mixed_float16" if self.use_mixed_precision else "float32"
        policy = {"class_name": "Policy", "config": {"name": dtype}}
  
          for layer in layers:
              config = layer["config"]
  
              if layer["class_name"] == "Functional":  # Recurse into sub-models
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