From: Justin Lebar Date: Sun, 27 May 2018 20:27:28 +0000 (-0700) Subject: [XLA] Don't display metadata inline in HLO graph dump. X-Git-Tag: upstream/v1.9.0_rc1~38^2~4^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8b3027c404dfef87265a2856e982381f0f55cd3;p=platform%2Fupstream%2Ftensorflow.git [XLA] Don't display metadata inline in HLO graph dump. We only want to display it in the tooltip. PiperOrigin-RevId: 198235268 --- diff --git a/tensorflow/compiler/xla/service/hlo_graph_dumper.cc b/tensorflow/compiler/xla/service/hlo_graph_dumper.cc index 4bf89be..a2cb21c 100644 --- a/tensorflow/compiler/xla/service/hlo_graph_dumper.cc +++ b/tensorflow/compiler/xla/service/hlo_graph_dumper.cc @@ -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, "
", s); }