          self.confidence = confidence
          self.average_img = np.array([104.0, 117.0, 123.0])
          logger.debug("Initialized: %s", self.__class__.__name__)
  
      def model_definition(self) -> Tuple[List[Tensor], List[Tensor]]:
          """ Keras S3FD Model Definition, adapted from FAN pytorch implementation. """
          input_ = Input(shape=(640, 640, 3))
          var_x = self.conv_block(input_, 64, 1, 2)
          var_x = MaxPooling2D(pool_size=2, strides=2)(var_x)
  
 
</s> remove     def model_definition() -> Tuple[List[Tensor], List[Tensor]]:
 </s> add     def model_definition() -> T.Tuple[T.List[Tensor], T.List[Tensor]]: </s> remove         self._pnet_input: Optional[List[np.ndarray]] = None
 </s> add         self._pnet_input: T.Optional[T.List[np.ndarray]] = None </s> remove         return KerasModel(input_, var_x, name="encoder")
 </s> add         return KModel(input_, var_x, name="encoder")
 </s> remove         return KerasModel(input_, var_x, name="encoder")
 </s> add         return KModel(input_, var_x, name="encoder") </s> remove         return KerasModel(input_, var_x, name=f"inter_{side}")
 </s> add         return KModel(input_, var_x, name=f"inter_{side}")
    def model_definition(self) -> T.Tuple[T.List[Tensor], T.List[Tensor]]:
          self.confidence = confidence
          self.average_img = np.array([104.0, 117.0, 123.0])
          logger.debug("Initialized: %s", self.__class__.__name__)
  
    def model_definition(self) -> T.Tuple[T.List[Tensor], T.List[Tensor]]:
          """ Keras S3FD Model Definition, adapted from FAN pytorch implementation. """
          input_ = Input(shape=(640, 640, 3))
          var_x = self.conv_block(input_, 64, 1, 2)
          var_x = MaxPooling2D(pool_size=2, strides=2)(var_x)
  
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/extract/detect/s3fd.py