MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ToShortString

Method ToShortString

tensorflow/compiler/xla/service/hlo_value.cc:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90string HloValue::ToShortString() const {
91 return absl::StrFormat(
92 "<%d %s%s%s%s>", id(), instruction()->name(),
93 instruction()->shape().IsTuple() ? index().ToString() : "",
94 is_phi() ? " (phi)" : "",
95 has_color() ? StrCat(" @", color().value()) : "");
96}
97
98string HloValue::ToString(int indent) const {
99 string indentation(indent, ' ');

Callers 15

NewHloValueMethod · 0.45
MarkValueForDeletionMethod · 0.45
DeleteMarkedValuesMethod · 0.45
ToStringMethod · 0.45
VerifyMethod · 0.45
HandleBroadcastMethod · 0.45
HandleAllReduceMethod · 0.45
ToStringMethod · 0.45
HandleMapMethod · 0.45
SetDynamicSizeMethod · 0.45
AddAssignmentMethod · 0.45
ToStringMethod · 0.45

Calls 6

nameMethod · 0.65
StrCatFunction · 0.50
IsTupleMethod · 0.45
shapeMethod · 0.45
ToStringMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected