Skip to content

Commit 64a9d54

Browse files
Merge pull request #60017 from tensorflow/joefernandez-patch-2.12-release-notes
Clarifying language in the Breaking Changes section in RELEASE.md
2 parents e0e10a9 + 7a4ebfd commit 64a9d54

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

RELEASE.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
* Build, Compilation and Packaging
66

7-
* Removal of redundant packages: the `tensorflow-gpu` and `tf-nightly-gpu` packages have been effectively removed and replaced with packages that direct users to switch to `tensorflow` or `tf-nightly` respectively. The naming difference was the only difference between the two sets of packages ever since TensorFlow 2.1, so there is no loss of functionality or GPU support. See https://pypi.org/project/tensorflow-gpu for more details.
7+
* Removed redundant packages `tensorflow-gpu` and `tf-nightly-gpu`. These packages were removed and replaced with packages that direct users to switch to `tensorflow` or `tf-nightly` respectively. Since TensorFlow 2.1, the only difference between these two sets of packages was their names, so there is no loss of functionality or GPU support. See https://pypi.org/project/tensorflow-gpu for more details.
88

99
* `tf.function`:
1010

11-
* `tf.function` now uses the Python inspect library directly for parsing the signature of the Python function it is decorated on.
12-
* This can break certain cases that were previously ignored where the signature is malformed, such as:
11+
* `tf.function` now uses the Python inspect library directly for parsing the signature of the Python function it is decorated on. This change may break code where the function signature is malformed, but was ignored previously, such as:
1312
* Using `functools.wraps` on a function with different signature
1413
* Using `functools.partial` with an invalid `tf.function` input
1514
* `tf.function` now enforces input parameter names to be valid Python identifiers. Incompatible names are automatically sanitized similarly to existing SavedModel signature behavior.
@@ -21,7 +20,7 @@
2120

2221
* `tf.keras`:
2322

24-
* Moved all saving-related utilities to a new namespace, `keras.saving`, i.e. `keras.saving.load_model`, `keras.saving.save_model`, `keras.saving.custom_object_scope`, `keras.saving.get_custom_objects`, `keras.saving.register_keras_serializable`,`keras.saving.get_registered_name` and `keras.saving.get_registered_object`. The previous API locations (in `keras.utils` and `keras.models`) will stay available indefinitely, but we recommend that you update your code to point to the new API locations.
23+
* Moved all saving-related utilities to a new namespace, `keras.saving`, for example: `keras.saving.load_model`, `keras.saving.save_model`, `keras.saving.custom_object_scope`, `keras.saving.get_custom_objects`, `keras.saving.register_keras_serializable`,`keras.saving.get_registered_name` and `keras.saving.get_registered_object`. The previous API locations (in `keras.utils` and `keras.models`) will be available indefinitely, but we recommend you update your code to point to the new API locations.
2524
* Improvements and fixes in Keras loss masking:
2625
* Whether you represent a ragged tensor as a `tf.RaggedTensor` or using [keras masking](https://www.tensorflow.org/guide/keras/masking_and_padding), the returned loss values should be the identical to each other. In previous versions Keras may have silently ignored the mask.
2726
* If you use masked losses with Keras the loss values may be different in TensorFlow `2.12` compared to previous versions.

0 commit comments

Comments
 (0)