  import numpy as np
  import tensorflow as tf
  
  from lib.model.backup_restore import Backup
  
  # Import the following libs for custom objects
  from lib.model import initializers, layers, normalization  # noqa # pylint:disable=unused-import
 
</s> remove from lib.utils import get_backend
 </s> add  </s> remove if get_backend() == "amd":
    import keras
else:
    from tensorflow import keras

 </s> add  </s> remove from typing import Any, Tuple, TYPE_CHECKING, Union
 </s> add import typing as T </s> remove from lib.utils import get_backend
 </s> add # Fix intellisense/linting for tf.keras' thoroughly broken import system
keras = tf.keras
K = keras.backend
from tensorflow import keras
  import numpy as np
  import tensorflow as tf
from tensorflow import keras
  
  from lib.model.backup_restore import Backup
  
  # Import the following libs for custom objects
  from lib.model import initializers, layers, normalization  # noqa # pylint:disable=unused-import
keep add 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 
tools/model/model.py