Merge pull request #26115 from drewszurko:patch-1

PiperOrigin-RevId: 235742774
This commit is contained in:
TensorFlower Gardener 2019-02-26 10:27:28 -08:00
commit 9c01b03c4e

View File

@ -815,7 +815,7 @@ class CacheDatasetOp : public UnaryDatasetOpKernel {
LOG(WARNING)
<< "The calling iterator did not fully read the dataset being "
"cached. In order to avoid unexpected truncation of the "
"dataset, the partially cached contents of the dataset"
"dataset, the partially cached contents of the dataset "
"will be discarded. This can happen if you have an input "
"pipeline similar to `dataset.cache().take(k).repeat()`. "
"You should use `dataset.take(k).cache().repeat()` instead.";