[tf.data] Fix a possible collision of performance modeling identifiers.

PiperOrigin-RevId: 245790338
This commit is contained in:
Jiri Simsa 2019-04-29 11:42:05 -07:00 committed by TensorFlower Gardener
parent eddf4efbc5
commit d8c82221f0

View File

@ -471,8 +471,9 @@ class GroupByWindowDatasetOp : public UnaryDatasetOpKernel {
GetDatasetFromVariantTensor(return_values[0], &returned_dataset));
// Create an iterator for the dataset that was returned by `f`.
return returned_dataset->MakeIterator(ctx, prefix(),
&current_group_iterator_);
return returned_dataset->MakeIterator(
ctx, strings::StrCat(prefix(), "::Reduce"),
&current_group_iterator_);
}
mutex mu_;