aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Daoust <markdaoust@google.com>2023-05-09 15:12:33 -0700
committerGitHub <noreply@github.com>2023-05-09 15:12:33 -0700
commitedc153f82fc118205f4b218318879cc5746f8899 (patch)
treeee06398805412601eaeadabff13055a39090cc1f
parent8adcb7362e6a709b70863421f5a6b0c7c12fe9db (diff)
downloadtensorflow-edc153f82fc118205f4b218318879cc5746f8899.tar.gz
Clarify "unknown cardinality" for full shuffle.
-rw-r--r--RELEASE.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 0b960310ee4..4819921eb6d 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -38,7 +38,7 @@
* `tf.data`
* `tf.data.Dataset.zip` now supports Python-style zipping, i.e. `Dataset.zip(a, b, c)`.
- * `tf.data.Dataset.shuffle` now supports full shuffling and handles datasets with unkown cardinality. To specify that data should be fully shuffled, use `dataset = dataset.shuffle(dataset.cardinality())`. This will load the full dataset into memory so that it can be shuffled, so make sure to only use this with datasets of filenames or other small datasets.
+ * `tf.data.Dataset.shuffle` now supports `tf.data.UNKNOWN_CARDINALITY` When doing a "full shuffle" using `dataset = dataset.shuffle(dataset.cardinality())`. But remember, a "full shuffle" will load the full dataset into memory so that it can be shuffled, so make sure to only use this with small datasets or datasets of small objects (like filenames).
* `tf.math`