          feed = [feed_faces]
          logger.trace("Input shape(s): %s", [item.shape for item in feed])  # type:ignore
  
          inbound = self._model.model.predict(feed, verbose=0, batch_size=batch_size)
          predicted: List[np.ndarray] = inbound if isinstance(inbound, list) else [inbound]
  
          if self._model.color_order.lower() == "rgb":
              predicted[0] = predicted[0][..., ::-1]
  
          logger.trace("Output shape(s): %s",  # type:ignore
 
</s> remove         batch.feed = ((np.array([cast(np.ndarray, feed.face)[..., :3]
 </s> add         batch.feed = ((np.array([T.cast(np.ndarray, feed.face)[..., :3] </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             if get_backend() == "amd" and feed_faces.shape[0] != self._batchsize:
                logger.verbose("Fallback to BS=1")  # type:ignore
                batch_size = 1
 </s> add  </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         event_parse._add_amd_loss_labels = cast(MagicMock, mocker.MagicMock())  # type:ignore
 </s> add 
        predicted: T.List[np.ndarray] = inbound if isinstance(inbound, list) else [inbound]
          feed = [feed_faces]
          logger.trace("Input shape(s): %s", [item.shape for item in feed])  # type:ignore
  
          inbound = self._model.model.predict(feed, verbose=0, batch_size=batch_size)
        predicted: T.List[np.ndarray] = inbound if isinstance(inbound, list) else [inbound]
  
          if self._model.color_order.lower() == "rgb":
              predicted[0] = predicted[0][..., ::-1]
  
          logger.trace("Output shape(s): %s",  # type:ignore
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