          is_faceswap = config.get("weights", "faceswap").lower() == "faceswap"
          version = 1 if not is_faceswap else 2 if config.get("include_hair") else 3
          return is_faceswap, version
  
      def _get_segment_indices(self) -> List[int]:
          """ Obtain the segment indices to include within the face mask area based on user
          configuration settings.
  
          Returns
          -------
 
</s> remove     def _get_mask_channels(self) -> List[int]:
 </s> add     def _get_mask_channels(self) -> T.List[int]: </s> remove     def _get_function(self, name: str) -> Callable[[tf.Tensor, tf.Tensor], tf.Tensor]:
 </s> add     def _get_function(self, name: str) -> T.Callable[[tf.Tensor, tf.Tensor], tf.Tensor]: </s> remove     def _mask_shapes(self) -> Optional[List[tuple]]:
 </s> add     def _mask_shapes(self) -> T.Optional[T.List[tuple]]: </s> remove     def _mask_inputs(self) -> Optional[list]:
 </s> add     def _mask_inputs(self) -> T.Optional[list]: </s> remove         retval: Dict[str, List[int]] = {}
 </s> add         retval: T.Dict[str, T.List[int]] = {}
    def _get_segment_indices(self) -> T.List[int]:
          is_faceswap = config.get("weights", "faceswap").lower() == "faceswap"
          version = 1 if not is_faceswap else 2 if config.get("include_hair") else 3
          return is_faceswap, version
  
    def _get_segment_indices(self) -> T.List[int]:
          """ Obtain the segment indices to include within the face mask area based on user
          configuration settings.
  
          Returns
          -------
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/extract/mask/bisenet_fp.py