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

Method ExecuteAsync

tensorflow/core/distributed_runtime/graph_mgr.cc:427–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void GraphMgr::ExecuteAsync(const string& handle, const int64 step_id,
428 WorkerSession* session, const ExecutorOpts& opts,
429 StepStatsCollector* collector,
430 MutableRunGraphResponseWrapper* response,
431 CancellationManager* cancellation_manager,
432 const NamedTensors& in,
433 std::map<std::string, bool>& is_send_dead,
434 StatusCallback done) {
435 RemoteRendezvous *rendezvous = worker_env_->rendezvous_mgr->Find(step_id);
436 Status s = rendezvous->Initialize(session);
437 if (!s.ok()) {
438 done(s);
439 rendezvous->Unref();
440 return;
441 }
442
443 ExecuteAsync(handle, step_id, rendezvous, session, opts, collector,
444 response, cancellation_manager, in, is_send_dead,
445 [rendezvous, done](const Status &s) {
446 rendezvous->Unref();
447 done(s);
448 });
449}
450
451void GraphMgr::ExecuteAsync(const string& handle, const int64 step_id,
452 Rendezvous* rendezvous,

Callers 7

StarRunGraphAsyncMethod · 0.45
ComputeAsyncMethod · 0.45
ComputeAsyncMethod · 0.45
ComputeAsyncMethod · 0.45
ComputeAsyncMethod · 0.45
DoRunGraphMethod · 0.45
DoPartialRunGraphMethod · 0.45

Calls 15

DefaultFunction · 0.85
string_viewClass · 0.85
SendTensorsToRendezvousFunction · 0.85
RecordGraphInputTensorsFunction · 0.85
UpdateGraphExecTimeFunction · 0.85
mutable_cost_graphMethod · 0.80
AddPartitionGraphMethod · 0.80
StrCatFunction · 0.50
FindMethod · 0.45
InitializeMethod · 0.45
okMethod · 0.45
UnrefMethod · 0.45

Tested by

no test coverage detected