old_contents: # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  # ==============================================================================
  """Implementation of the Keras API meant to be a high-level API for TensorFlow.
  
  Detailed documentation and user guides are available at
  [tensorflow.org](https://www.tensorflow.org/guide/keras).
  """
  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  
  from tensorflow.python import tf2
  
  # See b/110718070#comment18 for more details about this import.
  from tensorflow.python.keras import models
  
  from tensorflow.python.keras.engine.input_layer import Input
  from tensorflow.python.keras.engine.sequential import Sequential
  from tensorflow.python.keras.engine.training import Model
  
  from tensorflow.python.util.tf_export import keras_export
  
  __version__ = '2.4.0'
  
  keras_export('keras.__version__').export_constant(__name__, '__version__')
  
new_contents: # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  # ==============================================================================
  """Implementation of the Keras API meant to be a high-level API for TensorFlow.
  
  Detailed documentation and user guides are available at
  [tensorflow.org](https://www.tensorflow.org/guide/keras).
  """
  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  
  from tensorflow.python import tf2
  
  # See b/110718070#comment18 for more details about this import.
  from tensorflow.python.keras import models
  
  from tensorflow.python.keras.engine.input_layer import Input
  from tensorflow.python.keras.engine.sequential import Sequential
  from tensorflow.python.keras.engine.training import Model
  
  from tensorflow.python.util.tf_export import keras_export
  
  if tf2.enabled():
    __version__ = '2.3.0-tf'
  else:
    __version__ = '2.2.4-tf'
  
  keras_export('keras.__version__').export_constant(__name__, '__version__')
  
  del absolute_import
  del division
  del print_function
  
subject: Update Keras version number.