[XLA] Don't display metadata inline in HLO graph dump.
authorJustin Lebar <jlebar@google.com>
Sun, 27 May 2018 20:27:28 +0000 (13:27 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sun, 27 May 2018 20:30:01 +0000 (13:30 -0700)
We only want to display it in the tooltip.

PiperOrigin-RevId: 198235268

tensorflow/compiler/xla/service/hlo_graph_dumper.cc

index 4bf89be..a2cb21c 100644 (file)
@@ -788,8 +788,8 @@ string HloDotDumper::DumpInstruction(const HloInstruction* instr) {
   }
   // Build the text that will be displayed inside the node.
   string node_body = node_label;
-  for (const string& s : {trivial_subcomputation, node_metadata,
-                          node_backend_config, extra_info, inlined_constants}) {
+  for (const string& s : {trivial_subcomputation, node_backend_config,
+                          extra_info, inlined_constants}) {
     if (!s.empty()) {
       StrAppend(&node_body, "<br/>", s);
     }