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

Method ReleaseCallable

tensorflow/core/distributed_runtime/master.cc:727–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725}
726
727void Master::ReleaseCallable(const ReleaseCallableRequest* req,
728 ReleaseCallableResponse* resp, MyClosure done) {
729 auto session = FindMasterSession(req->session_handle());
730 if (session == nullptr) {
731 done(errors::Aborted("Session ", req->session_handle(), " is not found."));
732 return;
733 }
734
735 SchedClosure(std::bind(
736 [session, req, resp](MyClosure done) {
737 Status s = session->ReleaseCallable(*req, resp);
738 session->Unref();
739 done(s);
740 },
741 std::move(done)));
742}
743
744} // end namespace tensorflow

Callers

nothing calls this directly

Calls 3

SchedClosureFunction · 0.85
session_handleMethod · 0.80
UnrefMethod · 0.45

Tested by

no test coverage detected