          var_x = Dense(self.encoder_dim)(Flatten()(var_x))
          var_x = Dense(8 * 8 * self.encoder_dim)(var_x)
          var_x = Reshape((8, 8, self.encoder_dim))(var_x)
          var_x = UpscaleBlock(self.encoder_dim, activation="leakyrelu")(var_x)
          return KerasModel(input_, var_x, name="encoder")
  
      def decoder(self, side):
          """ DFL H128 Decoder """
          input_ = Input(shape=(16, 16, self.encoder_dim))
          var_x = input_
 
</s> remove         return KerasModel(input_, var_x, name="encoder")
 </s> add         return KModel(input_, var_x, name="encoder")
 </s> remove         return KerasModel(input_, var_x, name="encoder")
 </s> add         return KModel(input_, var_x, name="encoder") </s> remove         return KerasModel(input_, var_x, name="encoder")
 </s> add         return KModel(input_, var_x, name="encoder") </s> remove         return KerasModel(input_, var_x, name=f"intermediate_{side}")
 </s> add         return KModel(input_, var_x, name=f"intermediate_{side}") </s> remove         return KerasModel(input_, var_x, name="encoder_liae")
 </s> add         return KModel(input_, var_x, name="encoder_liae")
        return KModel(input_, var_x, name="encoder")
          var_x = Dense(self.encoder_dim)(Flatten()(var_x))
          var_x = Dense(8 * 8 * self.encoder_dim)(var_x)
          var_x = Reshape((8, 8, self.encoder_dim))(var_x)
          var_x = UpscaleBlock(self.encoder_dim, activation="leakyrelu")(var_x)
        return KModel(input_, var_x, name="encoder")
  
      def decoder(self, side):
          """ DFL H128 Decoder """
          input_ = Input(shape=(16, 16, self.encoder_dim))
          var_x = input_
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/dfl_h128.py