Merge pull request #26115 from drewszurko:patch-1
PiperOrigin-RevId: 235742774
This commit is contained in:
commit
9c01b03c4e
@ -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.";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user