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

Method Complete

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

Source from the content-addressed store, hash-verified

54}
55
56void Exchange::Complete(Status status) {
57 if (status.ok()) {
58 if (!GrpcMaybeParseProto(&response_buf_, response_)) {
59 status.Update(errors::Internal("could not parse rpc response"));
60 }
61 }
62 VLOG(3) << "Completing exchange " << DebugString() << " with "
63 << status.ToString();
64 cb_(status);
65}
66
67std::ostream& operator<<(std::ostream& os, const Exchange::State& state) {
68 os << ToString(state);

Callers 2

CompleteAllMethod · 0.45
ResponseReadCompletedMethod · 0.45

Calls 6

GrpcMaybeParseProtoFunction · 0.85
InternalFunction · 0.85
DebugStringFunction · 0.50
okMethod · 0.45
UpdateMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected