From 2195db6d8686aabb06233055dcb90190d4ef8fa1 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 12 Jul 2017 10:58:16 -0700 Subject: [PATCH] Remove unused flag: xla_hlo_graph_for_compute_constant PiperOrigin-RevId: 161686867 --- tensorflow/compiler/xla/legacy_flags/service_flags.cc | 6 ------ tensorflow/compiler/xla/legacy_flags/service_flags.h | 5 ----- 2 files changed, 11 deletions(-) diff --git a/tensorflow/compiler/xla/legacy_flags/service_flags.cc b/tensorflow/compiler/xla/legacy_flags/service_flags.cc index 90d30e75690..e7fa30455c1 100644 --- a/tensorflow/compiler/xla/legacy_flags/service_flags.cc +++ b/tensorflow/compiler/xla/legacy_flags/service_flags.cc @@ -36,18 +36,12 @@ static std::once_flag flags_init; static void AllocateFlags() { flags = new ServiceFlags; flags->xla_hlo_profile = false; - flags->xla_hlo_graph_for_compute_constant = false; flags->xla_dump_computations_to = ""; flags->xla_dump_executions_to = ""; flag_list = new std::vector({ tensorflow::Flag( "xla_hlo_profile", &flags->xla_hlo_profile, "Instrument the computation to collect per-HLO cycle counts"), - tensorflow::Flag( - "xla_hlo_graph_for_compute_constant", - &flags->xla_hlo_graph_for_compute_constant, - "If true, include hlo dumps of graphs from ComputeConstant." - "Such graphs still need to be matched via xla_generate_hlo_graph."), tensorflow::Flag("xla_dump_computations_to", &flags->xla_dump_computations_to, "Dumps computations that XLA executes into the provided " diff --git a/tensorflow/compiler/xla/legacy_flags/service_flags.h b/tensorflow/compiler/xla/legacy_flags/service_flags.h index 72d0c52402c..a821a940937 100644 --- a/tensorflow/compiler/xla/legacy_flags/service_flags.h +++ b/tensorflow/compiler/xla/legacy_flags/service_flags.h @@ -34,11 +34,6 @@ void AppendServiceFlags(std::vector* flag_list); typedef struct { bool xla_hlo_profile; // Instrument the computation to collect per-HLO cycle // counts - bool xla_hlo_graph_for_compute_constant; // If true, include hlo dumps of - // graphs from ComputeConstant. - // Such graphs still need to be - // matched via - // xla_generate_hlo_graph. string xla_dump_computations_to; // Dumps computations that XLA executes // into the provided directory path // Dumps parameters and results of computations that XLA executes into