          retval = {"input": input_shape[0][1], "output": output_shape[-1][1]}
          logger.debug(retval)
          return retval
  
      def _load_model(self) -> "ModelBase":
          """ Load the Faceswap model.
  
          Returns
          -------
          :mod:`plugins.train.model` plugin
 
</s> remove     def _get_writer(self) -> "Output":
 </s> add     def _get_writer(self) -> Output: </s> remove         retval = np.stack([cast(np.ndarray, feed_face.face)[..., :3]
 </s> add         retval = np.stack([T.cast(np.ndarray, feed_face.face)[..., :3] </s> remove             retval = KerasModel(model_inputs, model, name=f"{saved_model.name}_inference")
 </s> add             retval = KModel(model_inputs, model, name=f"{saved_model.name}_inference") </s> remove     def _get_io_sizes(self) -> Dict[str, int]:
 </s> add     def _get_io_sizes(self) -> T.Dict[str, int]: </s> remove     def get_batch(self) -> Tuple[List[List[np.ndarray]], ...]:
 </s> add     def get_batch(self) -> T.Tuple[T.List[T.List[np.ndarray]], ...]:
    def _load_model(self) -> ModelBase:
          retval = {"input": input_shape[0][1], "output": output_shape[-1][1]}
          logger.debug(retval)
          return retval
  
    def _load_model(self) -> ModelBase:
          """ Load the Faceswap model.
  
          Returns
          -------
          :mod:`plugins.train.model` plugin
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 
scripts/convert.py