          retval = func.function(**func.kwargs) if func.init else func.function  # type:ignore
          logger.debug("Obtained loss function `%s` (%s)", name, retval)
          return retval
  
      def _set_loss_functions(self, output_names: List[str]):
          """ Set the loss functions and their associated weights.
  
          Adds the loss functions to the :attr:`functions` dictionary.
  
          Parameters
 
</s> remove     kwargs: Dict[str, Any] = field(default_factory=dict)
 </s> add     kwargs: T.Dict[str, T.Any] = field(default_factory=dict) </s> remove     def configure(self, model: keras.models.Model) -> None:
 </s> add     def configure(self, model: tf.keras.models.Model) -> None: </s> remove     def _get_save_averages(self) -> List[float]:
 </s> add     def _get_save_averages(self) -> T.List[float]: </s> remove         self._sessions[self._session_id] = dict(timestamp=time.time(),
                                                no_logs=no_logs,
                                                loss_names=[],
                                                batchsize=0,
                                                iterations=0,
                                                config=config_changeable_items)

    def add_session_loss_names(self, loss_names: List[str]) -> None:
 </s> add         self._sessions[self._session_id] = {"timestamp": time.time(),
                                            "no_logs": no_logs,
                                            "loss_names": [],
                                            "batchsize": 0,
                                            "iterations": 0,
                                            "config": config_changeable_items}

    def add_session_loss_names(self, loss_names: T.List[str]) -> None: </s> remove     def _mask_inputs(self) -> Optional[list]:
 </s> add     def _mask_inputs(self) -> T.Optional[list]:
    def _set_loss_functions(self, output_names: T.List[str]):
          retval = func.function(**func.kwargs) if func.init else func.function  # type:ignore
          logger.debug("Obtained loss function `%s` (%s)", name, retval)
          return retval
  
    def _set_loss_functions(self, output_names: T.List[str]):
          """ Set the loss functions and their associated weights.
  
          Adds the loss functions to the :attr:`functions` dictionary.
  
          Parameters
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/model/_base/settings.py