              logger.debug("Disabling mixed precision. (Compute dtype: %s, variable_dtype: %s)",
                           policy.compute_dtype, policy.variable_dtype)
              return False
  
          policy = mixedprecision.Policy('mixed_float16')
          mixedprecision.set_global_policy(policy)
          logger.debug("Enabled mixed precision. (Compute dtype: %s, variable_dtype: %s)",
                       policy.compute_dtype, policy.variable_dtype)
          return True
  
      def _get_strategy(self,
 
</s> remove             policy = mixedprecision.Policy('float32')
            mixedprecision.set_global_policy(policy)
 </s> add             policy = mixedprecision.Policy('float32')  # pylint:disable=no-member
            mixedprecision.set_global_policy(policy)  # pylint:disable=no-member </s> remove         if get_backend() == "amd":
            logger.debug("No action to perform for 'mixed_precision' on backend '%s': "
                         "use_mixed_precision: %s)", get_backend(), use_mixed_precision)
            return False

 </s> add  </s> remove                  threshold: Optional[List[float]] = None,
 </s> add                  threshold: T.Optional[T.List[float]] = None, </s> remove                  normalization: Optional[str] = None,
                 activation: Optional[str] = "leakyrelu",
 </s> add                  normalization: T.Optional[str] = None,
                 activation: T.Optional[str] = "leakyrelu", </s> remove                  image_paths: Dict[Literal["a", "b"], List[str]]) -> None:
 </s> add                  image_paths: T.Dict[Literal["a", "b"], T.List[str]]) -> None:
        policy = mixedprecision.Policy('mixed_float16')  # pylint:disable=no-member
        mixedprecision.set_global_policy(policy)  # pylint:disable=no-member
              logger.debug("Disabling mixed precision. (Compute dtype: %s, variable_dtype: %s)",
                           policy.compute_dtype, policy.variable_dtype)
              return False
  
        policy = mixedprecision.Policy('mixed_float16')  # pylint:disable=no-member
        mixedprecision.set_global_policy(policy)  # pylint:disable=no-member
        policy = mixedprecision.Policy('mixed_float16')  # pylint:disable=no-member
        mixedprecision.set_global_policy(policy)  # pylint:disable=no-member
          logger.debug("Enabled mixed precision. (Compute dtype: %s, variable_dtype: %s)",
                       policy.compute_dtype, policy.variable_dtype)
          return True
  
      def _get_strategy(self,
keep keep keep keep 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/train/model/_base/settings.py