      def __init__(self, updater: bool = False) -> None:
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
          self.is_installer: bool = False
          self.backend: Optional[Literal["nvidia", "amd", "apple_silicon",
                                         "directml", "cpu", "rocm"]] = None
          self.enable_docker: bool = False
          self.cuda_cudnn = ["", ""]
          self.rocm_version: Tuple[int, ...] = (0, 0, 0)
  
 
</s> remove     _backends = (("nvidia", "amd", "apple_silicon", "directml", "rocm", "cpu"))
 </s> add     _backends = (("nvidia", "apple_silicon", "directml", "rocm", "cpu")) </s> remove     no_amd: bool = False
    tf_min: Tuple[int, int] = (2, 0)
    scaling: Tuple[int, int] = (0, 1)
 </s> add     tf_min: T.Tuple[int, int] = (2, 0)
    scaling: T.Tuple[int, int] = (0, 1) </s> remove     def generate_preview(self,
                         is_timelapse: bool = False) -> Dict[Literal["a", "b"], List[np.ndarray]]:
 </s> add     def generate_preview(self, is_timelapse: bool = False
                         ) -> T.Dict[Literal["a", "b"], T.List[np.ndarray]]: </s> remove         self._display = dict(min=show_min, mean=show_mean, max=show_max)
 </s> add         self._display = {"min": show_min, "mean": show_mean, "max": show_max} </s> remove _MODEL_MAPPING: Dict[str, _EncoderInfo] = dict(
    densenet121=_EncoderInfo(
 </s> add _MODEL_MAPPING: T.Dict[str, _EncoderInfo] = {
    "densenet121": _EncoderInfo(
        self.backend: Optional[Literal["nvidia", "apple_silicon",
      def __init__(self, updater: bool = False) -> None:
          self.updater = updater
          # Flag that setup is being run by installer so steps can be skipped
          self.is_installer: bool = False
        self.backend: Optional[Literal["nvidia", "apple_silicon",
                                         "directml", "cpu", "rocm"]] = None
          self.enable_docker: bool = False
          self.cuda_cudnn = ["", ""]
          self.rocm_version: Tuple[int, ...] = (0, 0, 0)
  
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 
setup.py