[tf.data] Temporarily disabling experiment pending issue investigation.

PiperOrigin-RevId: 326673260
Change-Id: Ie7be47834d827a6db61ed1e46f247bc65e4b2fcc
This commit is contained in:
Jiri Simsa 2020-08-14 09:46:07 -07:00 committed by TensorFlower Gardener
parent 7ecbff1686
commit 6297d314fb

View File

@ -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<string, uint64> 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,