  
          logger.debug("Returning predictions: %s", {key: val.shape for key, val in preds.items()})
          return preds
  
      def _compile_preview(self, predictions: Dict[str, np.ndarray]) -> np.ndarray:
          """ Compile predictions and images into the final preview image.
  
          Parameters
          ----------
          predictions: dict
 
</s> remove                        samples: List[np.ndarray],
                       predictions: List[np.ndarray]) -> List[np.ndarray]:
 </s> add                        samples: T.List[np.ndarray],
                       predictions: T.List[np.ndarray]) -> T.List[np.ndarray]: </s> remove     def _compile_feed_faces(feed_faces: List[AlignedFace]) -> np.ndarray:
 </s> add     def _compile_feed_faces(feed_faces: T.List[AlignedFace]) -> np.ndarray: </s> remove                       color: Tuple[float, float, float]) -> np.ndarray:
 </s> add                       color: T.Tuple[float, float, float]) -> np.ndarray: </s> remove         input_ = [cast(np.ndarray, feed.face)[..., :3] for feed in batch.feed_faces]
 </s> add         input_ = [T.cast(np.ndarray, feed.face)[..., :3] for feed in batch.feed_faces] </s> remove     def _get_predictions(self, feed_a: np.ndarray, feed_b: np.ndarray) -> Dict[str, np.ndarray]:
 </s> add     def _get_predictions(self, feed_a: np.ndarray, feed_b: np.ndarray) -> T.Dict[str, np.ndarray]:
    def _compile_preview(self, predictions: T.Dict[str, np.ndarray]) -> np.ndarray:
  
          logger.debug("Returning predictions: %s", {key: val.shape for key, val in preds.items()})
          return preds
  
    def _compile_preview(self, predictions: T.Dict[str, np.ndarray]) -> np.ndarray:
          """ Compile predictions and images into the final preview image.
  
          Parameters
          ----------
          predictions: dict
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