          self._backends: Dict[str, ValidBackends] = {"1": "cpu",
                                                      "2": "directml",
                                                      "3": "nvidia",
                                                      "4": "apple_silicon",
                                                      "5": "rocm",
                                                      "6": "amd"}
          self._valid_backends = list(self._backends.values())
          self._config_file = self._get_config_file()
          self.backend = self._get_backend()
  
      @classmethod
 
</s> remove     _backends = (("nvidia", "amd", "apple_silicon", "directml", "rocm", "cpu"))
 </s> add     _backends = (("nvidia", "apple_silicon", "directml", "rocm", "cpu")) </s> remove         self.backend: Optional[Literal["nvidia", "amd", "apple_silicon",
 </s> add         self.backend: Optional[Literal["nvidia", "apple_silicon", </s> remove         if not linux_update and not windows_update:
 </s> add         if not linux_update: </s> remove         windows_update = (self.os_version[0].lower() == "windows" and
                          self.backend == "amd" and (3, 8) <= sys.version_info < (3, 9))
 </s> add  </s> remove         self._mixed_precision_layers: List[str] = []
 </s> add         self._mixed_precision_layers: T.List[str] = []
                                                    "5": "rocm"}
          self._backends: Dict[str, ValidBackends] = {"1": "cpu",
                                                      "2": "directml",
                                                      "3": "nvidia",
                                                      "4": "apple_silicon",
                                                    "5": "rocm"}
                                                    "5": "rocm"}
          self._valid_backends = list(self._backends.values())
          self._config_file = self._get_config_file()
          self.backend = self._get_backend()
  
      @classmethod
keep keep keep keep 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 
lib/utils.py