                              padding="same",
                              relu_alpha=0.2)(var_x)
          return var_x
  
      def __call__(self, inputs: Union[Tensor, List[Tensor]]) -> Union[Tensor, List[Tensor]]:
          """ Upscale Network.
  
          Parameters
          inputs: Tensor or list of tensors
              Input tensor(s) to upscale block. This will be a single tensor if learn mask is not
 
</s> remove         if get_backend() == "amd":
            return inputs * K.sigmoid(inputs * self.beta)
        # Native TF Implementation has more memory-efficient gradients
 </s> add  </s> remove     def build_model(self, inputs: List[Tensor]) -> keras.models.Model:
 </s> add     def build_model(self, inputs: T.List[Tensor]) -> keras.models.Model: </s> remove         this is a straight call to the predict function. For PlaidML backends, this attempts
        to optimize the inference batch sizes to reduce the number of kernels that need to be
        compiled.
 </s> add         this is a straight call to the predict function. </s> remove     def _get_inputs(self) -> List[keras.layers.Input]:
 </s> add     def _get_inputs(self) -> T.List[tf.keras.layers.Input]: </s> remove     def _mask_shapes(self) -> Optional[List[tuple]]:
 </s> add     def _mask_shapes(self) -> T.Optional[T.List[tuple]]:
    def __call__(self, inputs: T.Union[Tensor, T.List[Tensor]]) -> T.Union[Tensor, T.List[Tensor]]:
                              padding="same",
                              relu_alpha=0.2)(var_x)
          return var_x
  
    def __call__(self, inputs: T.Union[Tensor, T.List[Tensor]]) -> T.Union[Tensor, T.List[Tensor]]:
          """ Upscale Network.
  
          Parameters
          inputs: Tensor or list of tensors
              Input tensor(s) to upscale block. This will be a single tensor if learn mask is not
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/phaze_a.py