diff options
Diffstat (limited to 'tensorflow/core/kernels/data/cache_dataset_ops.cc')
-rw-r--r-- | tensorflow/core/kernels/data/cache_dataset_ops.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/kernels/data/cache_dataset_ops.cc b/tensorflow/core/kernels/data/cache_dataset_ops.cc index 221b5ad835..34c6c86538 100644 --- a/tensorflow/core/kernels/data/cache_dataset_ops.cc +++ b/tensorflow/core/kernels/data/cache_dataset_ops.cc @@ -69,7 +69,7 @@ class CacheDatasetOp : public UnaryDatasetOpKernel { std::unique_ptr<IteratorBase> MakeIteratorInternal( const string& prefix) const override { return std::unique_ptr<IteratorBase>( - new FileIterator({this, strings::StrCat(prefix, "::FileIterator")})); + new FileIterator({this, strings::StrCat(prefix, "::FileCache")})); } const DataTypeVector& output_dtypes() const override { @@ -553,7 +553,7 @@ class CacheDatasetOp : public UnaryDatasetOpKernel { std::unique_ptr<IteratorBase> MakeIteratorInternal( const string& prefix) const override { return std::unique_ptr<IteratorBase>(new MemoryIterator( - {this, strings::StrCat(prefix, "::MemoryIterator")}, cache_)); + {this, strings::StrCat(prefix, "::MemoryCache")}, cache_)); } const DataTypeVector& output_dtypes() const override { |