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

Function CallContextToString

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

Source from the content-addressed store, hash-verified

35using absl::StrCat;
36
37string CallContextToString(CallContext context) {
38 switch (context) {
39 case CallContext::kNone:
40 return "kNone";
41 case CallContext::kSequential:
42 return "kSequential";
43 case CallContext::kParallel:
44 return "kParallel";
45 case CallContext::kBoth:
46 return "kBoth";
47 }
48}
49
50std::ostream& operator<<(std::ostream& out, const CallContext& context) {
51 out << CallContextToString(context);

Callers 2

call_graph.ccFile · 0.85
ToStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected