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

Method ToString

tensorflow/compiler/jit/deadness_analysis.cc:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 : Predicate(id), operands_(std::move(operands)) {}
156
157 string ToString() const override {
158 if (operands().empty()) {
159 return "#true";
160 }
161
162 std::vector<string> operands_str;
163 std::transform(operands().begin(), operands().end(),
164 std::back_inserter(operands_str),
165 [](Predicate* pred) { return pred->ToString(); });
166
167 return absl::StrCat("(", absl::StrJoin(operands_str, " & "), ")");
168 }
169
170 Kind kind() const override { return Kind::kAnd; }
171

Callers

nothing calls this directly

Calls 6

transformFunction · 0.50
StrCatFunction · 0.50
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected