From 6297d314fbf43439a7dffdd342735aa2bead71a9 Mon Sep 17 00:00:00 2001 From: Jiri Simsa Date: Fri, 14 Aug 2020 09:46:07 -0700 Subject: [PATCH] [tf.data] Temporarily disabling experiment pending issue investigation. PiperOrigin-RevId: 326673260 Change-Id: Ie7be47834d827a6db61ed1e46f247bc65e4b2fcc --- tensorflow/core/kernels/data/optimize_dataset_op.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tensorflow/core/kernels/data/optimize_dataset_op.cc b/tensorflow/core/kernels/data/optimize_dataset_op.cc index 249ccf765f3..13ca995b268 100644 --- a/tensorflow/core/kernels/data/optimize_dataset_op.cc +++ b/tensorflow/core/kernels/data/optimize_dataset_op.cc @@ -82,10 +82,11 @@ void OptimizeDatasetOp::MakeDataset(OpKernelContext* ctx, DatasetBase* input, string job_name = port::JobName(); // The map that stores the experiment names and for how much percentage // of the jobs, the experiments will be randomly turned on. - // - // This is currently empty; we have no live experiments yet. + // clang-format off absl::flat_hash_map live_experiments = { - {"disable_intra_op_parallelism", 1}}; + {"disable_intra_op_parallelism", 0} + }; + // clang-format on auto hash_func = [](const string& str) { return Hash64(str); }; optimizations = SelectOptimizations( job_name, live_experiments, optimizations_enabled,