diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-07-12 10:58:16 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-07-12 11:02:41 -0700 |
commit | 2195db6d8686aabb06233055dcb90190d4ef8fa1 (patch) | |
tree | 751697edba56def05bed4215d3fbc25deb47e24e /tensorflow/compiler/xla/legacy_flags | |
parent | de546d06692b5c557b8de4528e7458ac8c4f2afa (diff) |
Remove unused flag: xla_hlo_graph_for_compute_constant
PiperOrigin-RevId: 161686867
Diffstat (limited to 'tensorflow/compiler/xla/legacy_flags')
-rw-r--r-- | tensorflow/compiler/xla/legacy_flags/service_flags.cc | 6 | ||||
-rw-r--r-- | tensorflow/compiler/xla/legacy_flags/service_flags.h | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/tensorflow/compiler/xla/legacy_flags/service_flags.cc b/tensorflow/compiler/xla/legacy_flags/service_flags.cc index 90d30e7569..e7fa30455c 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>({ 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 72d0c52402..a821a94093 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<tensorflow::Flag>* 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 |