      """
  import sys
  
  from lib.model.nn_blocks import Conv2DOutput, Conv2DBlock, ResidualBlock, UpscaleBlock
  from ._base import ModelBase, KerasModel, logger
  
  if get_backend() == "amd":
      from keras.initializers import RandomNormal
      from keras.layers import Dense, Flatten, Input, LeakyReLU, Reshape
 
</s> remove from keras.initializers import RandomNormal
from keras.layers import Dense, Flatten, Input, LeakyReLU, Reshape


 </s> add  </s> remove from keras.layers import Concatenate, Dense, Flatten, Input, LeakyReLU, Reshape

 </s> add  </s> remove from keras.initializers import RandomNormal
from keras.layers import Dense, Flatten, Input, LeakyReLU, Reshape, SpatialDropout2D

 </s> add 
from lib.utils import get_backend
      """
  import sys
  
  from lib.model.nn_blocks import Conv2DOutput, Conv2DBlock, ResidualBlock, UpscaleBlock
from lib.utils import get_backend
  from ._base import ModelBase, KerasModel, logger
  
  if get_backend() == "amd":
      from keras.initializers import RandomNormal
      from keras.layers import Dense, Flatten, Input, LeakyReLU, Reshape
keep keep keep add keep 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/train/model/realface.py