| 74 | } |
| 75 | |
| 76 | string CallSite::ToString() const { |
| 77 | return StrCat( |
| 78 | instruction()->name(), " calls in context ", |
| 79 | CallContextToString(context()), ": ", |
| 80 | absl::StrJoin(called_computations(), ", ", |
| 81 | [](string* out, const HloComputation* computation) { |
| 82 | out->append(computation->name()); |
| 83 | })); |
| 84 | } |
| 85 | |
| 86 | CallGraphNode::CallGraphNode(HloComputation* computation) |
| 87 | : computation_(computation) {} |
no test coverage detected