8000 Merge pull request #63120 from tensorflow/MarkDaoust-2.16-release-notes · IBMZ-Linux-OSS-Python/tensorflow@563129d · GitHub
[go: up one dir, main page]

Skip to content

Commit 563129d

Browse files
Merge pull request tensorflow#63120 from tensorflow/MarkDaoust-2.16-release-notes
Fix formatting.
2 parents 1196a06 + 152a11b commit 563129d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
* To continue using Keras 2.0, do the following.
2222

23-
* 1. Install tf-keras via pip install tf-keras~=2.16
23+
* 1. Install `tf-keras` via `pip install tf-keras~=2.16`
2424

25-
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
25+
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
2626

27-
* 1. Change import of keras from tensorflow as follows
28-
* import tensorflow.keras as keras and import keras to import tf_keras as keras
27+
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`.
28+
2929
* **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.
3030
* **Mac x86 users:** Mac x86 builds are being deprecated and will no longer be
3131
released as a Pip package from TF 2.17 onwards.

0 commit comments

Comments
 (0)
0