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

Method RecvTensorHandlerRaw

tensorflow/contrib/star/star_worker_service.cc:225–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void StarWorkerService::RecvTensorHandlerRaw(StarServerTag *tag) {
226 // LOG(INFO) << "StarWorkerService::RecvTensorHandlerRaw";
227 Schedule([this, tag]() {
228 CallOptions* call_opts = new CallOptions;
229
230 StarCall<RecvTensorRequest, StarTensorResponse> *call =
231 new StarCall<RecvTensorRequest, StarTensorResponse>();
232
233 InitStarServerTag(&call->req_, &call->resp_, tag, [call] (const Status& s) {delete call;});
234
235 worker_->RecvTensorAsync(call_opts, &call->req_, &call->resp_,
236 [tag, call, call_opts
237 ](const Status& s) {
238 delete call_opts;
239 tag->ProcessDone(s);
240 });
241 });
242}
243
244void StarWorkerService::FuseRecvTensorHandlerRaw(StarServerTag *tag) {
245 // LOG(INFO) << "StarWorkerService::FuseRecvTensorHandlerRaw";

Callers

nothing calls this directly

Calls 3

InitStarServerTagFunction · 0.85
ProcessDoneMethod · 0.80
RecvTensorAsyncMethod · 0.45

Tested by

no test coverage detected