diff options
author | 2018-08-15 17:00:22 -0700 | |
---|---|---|
committer | 2018-08-15 17:00:22 -0700 | |
commit | bc6be507c71046dfc889a90e3949a903d5d1e6eb (patch) | |
tree | 84557e7bb7798e3d418a619c8452aa7baf78f255 /tensorflow/core/kernels/data/map_and_batch_dataset_op.cc | |
parent | 9523a98466d16cf01fc76a67b489f1124cf626ac (diff) | |
parent | d2875ea71373d05c645587a83dd870fa8a0ec070 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tensorflow/core/kernels/data/map_and_batch_dataset_op.cc')
-rw-r--r-- | tensorflow/core/kernels/data/map_and_batch_dataset_op.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/kernels/data/map_and_batch_dataset_op.cc b/tensorflow/core/kernels/data/map_and_batch_dataset_op.cc index 51a7fd23a8..0e17011b05 100644 --- a/tensorflow/core/kernels/data/map_and_batch_dataset_op.cc +++ b/tensorflow/core/kernels/data/map_and_batch_dataset_op.cc @@ -101,7 +101,7 @@ class MapAndBatchDatasetOp : public UnaryDatasetOpKernel { } private: - class Dataset : public GraphDatasetBase { + class Dataset : public DatasetBase { public: Dataset(OpKernelContext* ctx, const DatasetBase* input, int64 batch_size, int64 num_parallel_calls, bool drop_remainder, @@ -110,7 +110,7 @@ class MapAndBatchDatasetOp : public UnaryDatasetOpKernel { const NameAttrList& func, std::unique_ptr<CapturedFunction> captured_func, const Eigen::ThreadPoolDevice* device) - : GraphDatasetBase(ctx), + : DatasetBase(DatasetContext(ctx)), input_(input), batch_size_(batch_size), num_parallel_calls_(num_parallel_calls), |