aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/tools
diff options
context:
space:
mode:
authorGravatar Eli Bendersky <eliben@google.com>2017-06-28 13:45:06 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-28 13:48:39 -0700
commit7ab72bf2205b1775607932b6ccbcd7099368705e (patch)
tree6c8c9677fa2a0a707d381a3fcb9a25743b30db27 /tensorflow/compiler/xla/tools
parent90675330aaa468a0498db1f235396eb2da0e3b57 (diff)
[XLA] Move remaining hlo graph dumper flags into debug_options.
Also pipe debug_options through the code in hlo_graph_dumper, since the number of individual parameters was growing too large. PiperOrigin-RevId: 160446088
Diffstat (limited to 'tensorflow/compiler/xla/tools')
-rw-r--r--tensorflow/compiler/xla/tools/BUILD1
-rw-r--r--tensorflow/compiler/xla/tools/dumped_computation_to_tf_graphdef.cc5
2 files changed, 0 insertions, 6 deletions
diff --git a/tensorflow/compiler/xla/tools/BUILD b/tensorflow/compiler/xla/tools/BUILD
index 8ba76ddc1b..4bbe0ba0dd 100644
--- a/tensorflow/compiler/xla/tools/BUILD
+++ b/tensorflow/compiler/xla/tools/BUILD
@@ -188,7 +188,6 @@ cc_binary(
"//tensorflow/compiler/xla/client:computation",
"//tensorflow/compiler/xla/client:local_client",
"//tensorflow/compiler/xla/legacy_flags:debug_options_flags",
- "//tensorflow/compiler/xla/legacy_flags:hlo_graph_dumper_flags",
"//tensorflow/compiler/xla/service",
"//tensorflow/compiler/xla/service:hlo_graph_dumper",
"//tensorflow/compiler/xla/service:session_proto",
diff --git a/tensorflow/compiler/xla/tools/dumped_computation_to_tf_graphdef.cc b/tensorflow/compiler/xla/tools/dumped_computation_to_tf_graphdef.cc
index ebaea0511c..a8879f1a29 100644
--- a/tensorflow/compiler/xla/tools/dumped_computation_to_tf_graphdef.cc
+++ b/tensorflow/compiler/xla/tools/dumped_computation_to_tf_graphdef.cc
@@ -31,7 +31,6 @@ limitations under the License.
#include "tensorflow/compiler/xla/client/computation.h"
#include "tensorflow/compiler/xla/client/local_client.h"
#include "tensorflow/compiler/xla/legacy_flags/debug_options_flags.h"
-#include "tensorflow/compiler/xla/legacy_flags/hlo_graph_dumper_flags.h"
#include "tensorflow/compiler/xla/service/service.h"
#include "tensorflow/compiler/xla/service/session.pb.h"
#include "tensorflow/compiler/xla/statusor.h"
@@ -74,10 +73,6 @@ int main(int argc, char** argv) {
tensorflow::port::InitMain(argv[0], &argc, &argv);
- xla::legacy_flags::HloGraphDumperFlags* dumper_flags =
- xla::legacy_flags::GetHloGraphDumperFlags();
- dumper_flags->xla_hlo_dump_as_graphdef = true;
-
tensorflow::gtl::ArraySlice<char*> args(argv, argc);
args.pop_front(); // Pop off the binary name, argv[0]
xla::tools::RealMain(args);