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

Method PartialRunSetup

tensorflow/core/distributed_runtime/master.cc:515–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515void Master::PartialRunSetup(const PartialRunSetupRequest* req,
516 PartialRunSetupResponse* resp, MyClosure done) {
517 Status s = recent_request_ids_.TrackUnique(req->request_id(),
518 "PartialRunSetup (Master)", *req);
519 if (!s.ok()) {
520 done(s);
521 return;
522 }
523 auto session = FindMasterSession(req->session_handle());
524 if (session == nullptr) {
525 done(errors::Aborted("Session ", req->session_handle(), " is not found."));
526 return;
527 }
528
529 SchedClosure([session, req, resp, done]() {
530 Status s = session->PartialRunSetup(req, resp);
531 session->Unref();
532 done(s);
533 });
534}
535
536void Master::RunStep(CallOptions* opts, const RunStepRequestWrapper* req,
537 MutableRunStepResponseWrapper* resp, MyClosure done) {

Callers

nothing calls this directly

Calls 6

SchedClosureFunction · 0.85
request_idMethod · 0.80
session_handleMethod · 0.80
TrackUniqueMethod · 0.60
okMethod · 0.45
UnrefMethod · 0.45

Tested by

no test coverage detected