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

Function MakeRPC

tensorflow/compiler/xla/rpc/grpc_stub.cc:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21GRPCStub::~GRPCStub() = default;
22
23Status MakeRPC(
24 const std::function<::grpc::Status(::grpc::ClientContext*)>& rpc_method) {
25 ::grpc::ClientContext context;
26 ::grpc::Status s = rpc_method(&context);
27 return tensorflow::FromGrpcStatus(s);
28}
29
30Status GRPCStub::TransferToClient(const TransferToClientRequest* request,
31 TransferToClientResponse* response) {

Callers 15

TransferToClientMethod · 0.85
TransferToServerMethod · 0.85
TransferToInfeedMethod · 0.85
TransferFromOutfeedMethod · 0.85
ResetDeviceMethod · 0.85
CompileMethod · 0.85
ExecuteMethod · 0.85
ExecuteGraphParallelMethod · 0.85
WaitForExecutionMethod · 0.85
DeconstructTupleMethod · 0.85
GetShapeMethod · 0.85

Calls 1

FromGrpcStatusFunction · 0.85

Tested by

no test coverage detected