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

Function ToString

tensorflow/core/distributed_runtime/rpc/grpc_state.cc:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace tensorflow {
20
21const char* ToString(UntypedStreamingRPCState::Tag::TagType tag_type) {
22 switch (tag_type) {
23 case UntypedStreamingRPCState::Tag::TagType::kCallStarted:
24 return "kCallStarted";
25 case UntypedStreamingRPCState::Tag::TagType::kRequestWriteCompleted:
26 return "kRequestWriteCompleted";
27 case UntypedStreamingRPCState::Tag::TagType::kResponseReadCommpleted:
28 return "kResponseReadCommpleted";
29 case UntypedStreamingRPCState::Tag::TagType::kCallFinished:
30 return "kCallFinished";
31 }
32}
33
34UntypedStreamingRPCState::Tag::Tag(UntypedStreamingRPCState* streaming_state,
35 Tag::TagType type)

Callers 3

grpc_state.ccFile · 0.70
DebugStringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected