  
  from ._base import ModelBase, KerasModel, logger
  
  
  class Model(ModelBase):
      """ SAE Model from DFL """
      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
 
</s>
if get_backend() == "amd":
    from keras.layers import Concatenate, Dense, Flatten, Input, LeakyReLU, Reshape
else:
    # Ignore linting errors from Tensorflow's thoroughly broken import system
    from tensorflow.keras.layers import Concatenate, Dense, Flatten, Input, LeakyReLU, Reshape  # noqa pylint:disable=import-error,no-name-in-module

  
  from ._base import ModelBase, KerasModel, logger
  
if get_backend() == "amd":
    from keras.layers import Concatenate, Dense, Flatten, Input, LeakyReLU, Reshape
else:
    # Ignore linting errors from Tensorflow's thoroughly broken import system
    from tensorflow.keras.layers import Concatenate, Dense, Flatten, Input, LeakyReLU, Reshape  # noqa pylint:disable=import-error,no-name-in-module

  
  class Model(ModelBase):
      """ SAE Model from DFL """
      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
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/dfl_sae.py