[tf.data] Adding an experimental `group_by_reducer` transformation which groups eleme...
authorJiri Simsa <jsimsa@google.com>
Tue, 1 May 2018 00:38:38 +0000 (17:38 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 1 May 2018 00:40:46 +0000 (17:40 -0700)
commitc89a1d9605427d74079774af7da37933f9ca153c
treeaaf6c6cc9e30518b99fae47b5e57f1b47d1a3665
parentb7978d48f4588feb717157a9dbfd2e1df678628b
[tf.data] Adding an experimental `group_by_reducer` transformation which groups elements of an input pipeline by a key, applies a reduce function to elements of each group "on-the-fly", and outputs the results once all input elements have been processed.

PiperOrigin-RevId: 194874087
tensorflow/contrib/data/python/kernel_tests/bucketing_test.py
tensorflow/contrib/data/python/kernel_tests/scan_dataset_op_test.py
tensorflow/contrib/data/python/ops/grouping.py
tensorflow/core/api_def/base_api/api_def_GroupByReducerDataset.pbtxt [new file with mode: 0644]
tensorflow/core/kernels/data/BUILD
tensorflow/core/kernels/data/captured_function.cc
tensorflow/core/kernels/data/captured_function.h
tensorflow/core/kernels/data/group_by_reducer_dataset_op.cc [new file with mode: 0644]
tensorflow/core/kernels/data/group_by_window_dataset_op.cc
tensorflow/core/ops/dataset_ops.cc