          self.color_order: Literal["bgr", "rgb"] = "bgr"  # Override for image color channel order
  
          self._args = arguments
          self._is_predict = predict
          self._model: Optional[keras.models.Model] = None
  
          self._configfile = arguments.configfile if hasattr(arguments, "configfile") else None
          self._load_config()
  
          if self.config["penalized_mask_loss"] and self.config["mask_type"] is None:
 
</s> remove         self.input_shape: Tuple[int, ...] = ()
 </s> add         self.input_shape: T.Tuple[int, ...] = () </s> remove         dim = K.int_shape(image) if self._batch_shape is None else self._batch_shape
 </s> add         dim = K.int_shape(image) </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         retval: Optional[Callable[[np.ndarray],
                                  List[bytes]]] = None if test is None else self._writer.pre_encode
 </s> add         retval: T.Optional[T.Callable[[np.ndarray],
                           T.List[bytes]]] = None if test is None else self._writer.pre_encode </s> remove         kwargs = dict(in_queue=self._queues[in_qname], out_queue=self._queues[out_qname])
 </s> add         kwargs = {"in_queue": self._queues[in_qname], "out_queue": self._queues[out_qname]}
        self._model: T.Optional[tf.keras.models.Model] = None
          self.color_order: Literal["bgr", "rgb"] = "bgr"  # Override for image color channel order
  
          self._args = arguments
          self._is_predict = predict
        self._model: T.Optional[tf.keras.models.Model] = None
  
          self._configfile = arguments.configfile if hasattr(arguments, "configfile") else None
          self._load_config()
  
          if self.config["penalized_mask_loss"] and self.config["mask_type"] is None:
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/model.py