[tf.data] Further simplify the `CapturedFunction::Run*()` interfaces.
authorDerek Murray <mrry@google.com>
Thu, 18 Jan 2018 20:18:49 +0000 (12:18 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 18 Jan 2018 20:22:39 +0000 (12:22 -0800)
commit07ee0c74226d641419e7ef4543817fb400a8b146
tree67480022e05481db70d9b49e38e039caebee4209
parent09a6446b4e61f5fc8aa8fcf3f5824ef6660e7fc2
[tf.data] Further simplify the `CapturedFunction::Run*()` interfaces.

All users of these interfaces had to use the same boilerplate to create a
`FunctionLibraryRuntime::Options`. This change moves that boilerplate inside
the `CapturedFunction` implementation.

PiperOrigin-RevId: 182418501
tensorflow/core/kernels/data/captured_function.cc
tensorflow/core/kernels/data/captured_function.h
tensorflow/core/kernels/data/dataset_utils.cc
tensorflow/core/kernels/data/filter_dataset_op.cc
tensorflow/core/kernels/data/group_by_window_dataset_op.cc
tensorflow/core/kernels/data/map_and_batch_dataset_op.cc
tensorflow/core/kernels/data/map_dataset_op.cc
tensorflow/core/kernels/data/parallel_map_dataset_op.cc
tensorflow/core/kernels/data/scan_dataset_op.cc