      Notes
      -----
      At the time of writing Keras/Tensorflow does not have a native replication padding method.
      The implementation here is probably not the most efficient, but it is a pure keras method
      which should work on both TF and Plaid.
  
      Parameters
      ----------
      image: Tensor
          Image tensor to pad
 
</s> remove     This is an early implementation of this class, and should be expanded out over time
    with relevant `AMD`, `CPU` and `NVIDIA` backend methods.
 </s> add     This is an early implementation of this class, and should be expanded out over time. </s> remove 
        Notes
        -----
        Clip-norm is ballooning VRAM usage, which is not expected behavior and may be a bug in
        Keras/Tensorflow.

        PlaidML has a bug regarding the clip-norm parameter See:
        https://github.com/plaidml/plaidml/issues/228. We workaround by simply not adding this
        parameter for AMD backend users.
 </s> add  </s> remove         if get_backend() == "amd":  # Mixed precision not supported on amd
            return model

 </s> add  </s> remove         It is important to note that any models and sub-models should not call
        :class:`keras.models.Model` directly, but rather call
        :class:`plugins.train.model._base.KerasModel`. This acts as a wrapper for Keras' Model
        class, but handles some minor differences which need to be handled between Nvidia and AMD
        backends.

 </s> add  </s> remove         Windows + AMD + Python 3.8:
        Add CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1 environment variable to get around a bug which
        prevents SciPy from loading in this config: https://github.com/scipy/scipy/issues/14002

 </s> add 
    which should work on TF.
      Notes
      -----
      At the time of writing Keras/Tensorflow does not have a native replication padding method.
      The implementation here is probably not the most efficient, but it is a pure keras method
    which should work on TF.
  
      Parameters
      ----------
      image: Tensor
          Image tensor to pad
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 
lib/keras_utils.py