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

Method DeleteSession

tensorflow/core/distributed_runtime/session_mgr.cc:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141Status SessionMgr::DeleteSession(const string& session) {
142 mutex_lock l(mu_);
143 auto it = sessions_.find(session);
144 if (it != sessions_.end()) {
145 sessions_.erase(it);
146 }
147 return Status::OK();
148}
149
150Status SessionMgr::WorkerSessionForSessionLocked(
151 const string& session_handle, std::shared_ptr<WorkerSession>* out_session) {

Callers 2

TEST_FFunction · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by 1

TEST_FFunction · 0.36