                             for img in sample])
          logger.debug("Resized sample: (side: '%s' shape: %s)", side, retval.shape)
          return retval
  
      def _get_predictions(self, feed_a: np.ndarray, feed_b: np.ndarray) -> Dict[str, np.ndarray]:
          """ Feed the samples to the model and return predictions
  
          Parameters
          ----------
          feed_a: :class:`numpy.ndarray`
 
</s> remove     def _predict(self, feed_faces: np.ndarray, batch_size: Optional[int] = None) -> np.ndarray:
 </s> add     def _predict(self, feed_faces: np.ndarray, batch_size: T.Optional[int] = None) -> np.ndarray: </s> remove                            rectangles: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
 </s> add                            rectangles: np.ndarray) -> T.Tuple[np.ndarray, np.ndarray]: </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                            scale: float) -> Tuple[np.ndarray, np.ndarray]:
 </s> add                            scale: float) -> T.Tuple[np.ndarray, np.ndarray]: </s> remove     def _queue_out_frames(self, batch: List[ConvertItem], swapped_faces: np.ndarray) -> None:
 </s> add     def _queue_out_frames(self, batch: T.List[ConvertItem], swapped_faces: np.ndarray) -> None:
    def _get_predictions(self, feed_a: np.ndarray, feed_b: np.ndarray) -> T.Dict[str, np.ndarray]:
                             for img in sample])
          logger.debug("Resized sample: (side: '%s' shape: %s)", side, retval.shape)
          return retval
  
    def _get_predictions(self, feed_a: np.ndarray, feed_b: np.ndarray) -> T.Dict[str, np.ndarray]:
          """ Feed the samples to the model and return predictions
  
          Parameters
          ----------
          feed_a: :class:`numpy.ndarray`
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/trainer/_base.py