  
  class SliceO2K(keras.layers.Layer):
      """ Custom Keras Slice layer generated by onnx2keras. """
      def __init__(self,
                   starts: List[int],
                   ends: List[int],
                   axes: Optional[List[int]] = None,
                   steps: Optional[List[int]] = None,
                   **kwargs) -> None:
          self._starts = starts
          self._ends = ends
          self._axes = axes
          self._steps = steps
 
</s> remove     def _get_slices(self, dimensions: int) -> List[Tuple[int, ...]]:
 </s> add     def _get_slices(self, dimensions: int) -> T.List[T.Tuple[int, ...]]: </s> remove                  git_model_id: Optional[int] = None,
                 model_filename: Optional[str] = None,
                 configfile: Optional[str] = None,
 </s> add                  git_model_id: T.Optional[int] = None,
                 model_filename: T.Optional[str] = None,
                 configfile: T.Optional[str] = None, </s> remove                  exclude_gpus: Optional[List[int]],
 </s> add                  exclude_gpus: T.Optional[T.List[int]], </s> remove                  normalization: Optional[str] = None,
                 activation: Optional[str] = "leakyrelu",
 </s> add                  normalization: T.Optional[str] = None,
                 activation: T.Optional[str] = "leakyrelu", </s> remove                        activation: Optional[str] = None,
                       upsamples: Optional[int] = None,
                       interpolation: Optional[str] = None) -> keras.layers.Layer:
 </s> add                        activation: T.Optional[str] = None,
                       upsamples: T.Optional[int] = None,
                       interpolation: T.Optional[str] = None) -> keras.layers.Layer:
                 starts: T.List[int],
                 ends: T.List[int],
                 axes: T.Optional[T.List[int]] = None,
                 steps: T.Optional[T.List[int]] = None,
  
  class SliceO2K(keras.layers.Layer):
      """ Custom Keras Slice layer generated by onnx2keras. """
      def __init__(self,
                 starts: T.List[int],
                 ends: T.List[int],
                 axes: T.Optional[T.List[int]] = None,
                 steps: T.Optional[T.List[int]] = None,
                 starts: T.List[int],
                 ends: T.List[int],
                 axes: T.Optional[T.List[int]] = None,
                 steps: T.Optional[T.List[int]] = None,
                 starts: T.List[int],
                 ends: T.List[int],
                 axes: T.Optional[T.List[int]] = None,
                 steps: T.Optional[T.List[int]] = None,
                 starts: T.List[int],
                 ends: T.List[int],
                 axes: T.Optional[T.List[int]] = None,
                 steps: T.Optional[T.List[int]] = None,
                   **kwargs) -> None:
          self._starts = starts
          self._ends = ends
          self._axes = axes
          self._steps = steps
keep keep keep keep replace replace replace 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