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

Method ToString

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

Source from the content-addressed store, hash-verified

46}
47
48string HloPosition::ToString() const {
49 string index_str =
50 instruction->shape().IsTuple() ? (" " + index.ToString()) : "";
51 return StrCat(instruction->name(), index_str);
52}
53
54std::ostream& operator<<(std::ostream& out, const HloPosition& position) {
55 out << position.ToString();

Callers 15

DefaultActionMethod · 0.45
CheckOperandCountFunction · 0.45
PreprocessMethod · 0.45
CheckReplicaGroupsFunction · 0.45
HandleAllToAllMethod · 0.45
CheckIsTokenOperandMethod · 0.45
HandleOutfeedMethod · 0.45
HandleRngMethod · 0.45
HandleRngBitGeneratorMethod · 0.45

Calls 9

nameMethod · 0.65
StrCatFunction · 0.50
StrAppendFunction · 0.50
shapeFunction · 0.50
IsTupleMethod · 0.45
shapeMethod · 0.45
operandMethod · 0.45
appendMethod · 0.45
ToShortStringMethod · 0.45

Tested by 15

DefaultActionMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
DefaultActionMethod · 0.36
ExpectCallSequenceMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36