From f1b3d800745bbb7339c0ac3e76585503df6c89e8 Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Mon, 4 Mar 2024 11:24:05 -0800 Subject: [PATCH] Fix formatting. --- RELEASE.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 41087d575b19ee..c4a599f99562c1 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -20,12 +20,12 @@ * To continue using Keras 2.0, do the following. -* 1. Install tf-keras via pip install tf-keras~=2.16 +* 1. Install `tf-keras` via `pip install tf-keras~=2.16` - 1. To switch tf.keras to use Keras 2 (tf-keras), set the environment variable TF_USE_LEGACY_KERAS=1 directly or in your python program by import os;os.environ["TF_USE_LEGACY_KERAS"]=1. Please note that this will set it for all packages in your Python runtime program + 1. To switch `tf.keras` to use Keras 2 (`tf-keras`), set the environment variable `TF_USE_LEGACY_KERAS=1` directly or in your python program with `import os;os.environ["TF_USE_LEGACY_KERAS"]="1"`. Please note that this will set it for all packages in your Python runtime program -* 1. Change import of keras from tensorflow as follows -* import tensorflow.keras as keras and import keras to import tf_keras as keras + 1. Change the keras import: replace `import tensorflow.keras as keras` or `import keras` with `import tf_keras as keras`. Update any `tf.keras` references to `keras`. + * **Apple Silicon users:** If you previously installed TensorFlow using `pip install tensorflow-macos`, please update your installation method. Use `pip install tensorflow` from now on. Starting with TF 2.17, the `tensorflow-macos` package will no longer receive updates. ### Known Caveats