  
  from lib.model.session import KSession
  from ._base import Masker, logger
  
  if get_backend() == "amd":
      from keras.layers import (
 
</s> remove from keras import backend as K
from keras.layers import (Activation, Add, BatchNormalization, Concatenate, Conv2D,
                          GlobalAveragePooling2D, Input, MaxPooling2D, Multiply, Reshape,
                          UpSampling2D, ZeroPadding2D)

 </s> add 
from lib.utils import get_backend
  
  from lib.model.session import KSession
from lib.utils import get_backend
  from ._base import Masker, logger
  
  if get_backend() == "amd":
      from keras.layers import (
keep add keep keep keep keep
 Update all Keras Imports to be conditional (#1214)

* Remove custom keras importer

* first round keras imports fix

* launcher.py: Remove KerasFinder references

* 2nd round keras imports update (lib and extract)

* 3rd round keras imports update (train)

* remove KerasFinder from tests

* 4th round keras imports update (tests) 
plugins/extract/mask/vgg_obstructed.py