[XLA] Shorten "custom_call_target" to "target" in XLA graph dumper.
authorJustin Lebar <jlebar@google.com>
Sun, 17 Dec 2017 15:54:51 +0000 (07:54 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 18 Dec 2017 19:11:43 +0000 (11:11 -0800)
Make CustomCall nodes a bit smaller by shortening
"custom_call_target=" to "target=".

PiperOrigin-RevId: 179347188

tensorflow/compiler/xla/service/hlo_graph_dumper.cc

index 142e2066c897df2f7a5c9401acd4acd7e4eff936..943679784fb8cd2cc20d921830caa58d4fb50a6f 100644 (file)
@@ -1056,7 +1056,7 @@ string HloDotDumper::GetInstructionNodeExtraInfo(const HloInstruction* instr) {
       case HloOpcode::kBatchNormGrad:
         return Printf("feature_index=%lld", instr->feature_index());
       case HloOpcode::kCustomCall:
-        return Printf("custom_call_target=%s", instr->custom_call_target());
+        return Printf("target=%s", instr->custom_call_target());
       case HloOpcode::kSlice:
         return std::all_of(instr->slice_strides().begin(),
                            instr->slice_strides().end(),