  import inspect
  
  import pytest
  
  import keras
  from keras import backend as K
  
  from lib.utils import get_backend
  
  _BACKEND = get_backend()
  
  
 
</s> remove from keras import backend as K
from keras import initializers as k_initializers
 </s> add  </s> remove from keras.layers import Layer, InputSpec
from keras import initializers, regularizers, constraints
from keras import backend as K

from lib.utils import get_backend, get_keras_custom_objects as get_custom_objects
 </s> add from lib.utils import get_backend </s> remove from keras import Input, Model, backend as K
 </s> add  </s> remove from keras import Input, Model, backend as K
 </s> add 
  import inspect
  
  import pytest
  



  from lib.utils import get_backend
  
  _BACKEND = get_backend()
  
  
keep keep keep keep replace replace replace 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) 
tests/startup_test.py