@@ -52,21 +52,26 @@ it is a separate package with separate static registries and class hierarchies,
5252so it does not mix well with user code that uses `import keras` and objects
5353from `keras.*`. Hence we recommend to not use `keras.*` in user code.
5454
55+ This advice applies to TF-GNN up to release 1.0. Future releases of TF-GNN
56+ will not support TensorFlow 2.15 anymore.
57+
5558### For TensorFlow 2.12, 2.13 and 2.14
5659
5760Nothing special is required: These TF 2.x versions depend on the matching
5861version of Keras 2.x and define `tf.keras` with it. The environment
5962variable `TF_USE_LEGACY_KERAS` is ignored.
6063
64+ This advice applies to TF-GNN up to release 1.0. Future releases of TF-GNN
65+ will not support these old TensorFlow versions anymore.
6166
6267## Writing compatible code
6368
6469### For all supported TensorFlow versions
6570
66- For use of TF-GNN under any supported version of TensorFlow, we recommend that
67- user code does `import tensorflow as tf` and uses the Keras API at `tf.keras.*`.
68- The installation instructions above make sure this is Keras v2, as required
69- by the TF-GNN library itself.
71+ For use of TF-GNN 1.0 under any supported version of TensorFlow (including those
72+ before TF2.16), we recommend that user code does `import tensorflow as tf` and
73+ uses the Keras API at `tf.keras.*`. The installation instructions above make
74+ sure this is Keras v2, as required by the TF-GNN library itself.
7075
7176Do not import and use `keras.*` directly: it will break for TF 2.16 and above.
7277
0 commit comments