diff --git a/README.md b/README.md index e8e3801bf..1dc5a65d7 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,10 @@ os.environ["KERAS_BACKEND"] = "jax" import keras_core as keras ``` -**Note:** The backend must be configured before importing keras_core, and the backend cannot be changed after + +**Note:** The backend must be configured before importing `keras_core`, and the backend cannot be changed after the package has been imported. + ## Backwards compatibility Keras Core is intended to work as a drop-in replacement for `tf.keras` (when using the TensorFlow backend). Just take your diff --git a/keras_core/saving/saving_api.py b/keras_core/saving/saving_api.py index 0d72e2939..6a1e3569e 100644 --- a/keras_core/saving/saving_api.py +++ b/keras_core/saving/saving_api.py @@ -108,7 +108,7 @@ def save_model(model, filepath, overwrite=True, **kwargs): f"format (recommended) or a `.h5` extension. " "Use `tf.saved_model.save()` if you want to export a SavedModel " "for use with TFLite/TFServing/etc. " - f"Received: filepath = {filepath}." + f"Received: filepath={filepath}." )