/external/tensorflow/tensorflow/core/framework/ |
op_segment.cc | 35 for (auto kv : sessions_) delete kv.second; 43 auto item = gtl::FindPtrOrNull(sessions_, session_handle); 59 auto item = gtl::FindPtrOrNull(sessions_, session_handle); 76 Item** item = &sessions_[session_handle]; 88 auto siter = sessions_.find(session_handle); 89 if (siter == sessions_.end()) { 97 sessions_.erase(siter);
|
op_segment.h | 81 SessionMap sessions_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
session_mgr.cc | 104 sessions_.insert(std::make_pair(session, std::move(worker_session))); 110 auto it = sessions_.find(session); 111 if (it != sessions_.end()) { 112 sessions_.erase(it); 122 auto it = sessions_.find(session_handle); 123 if (it == sessions_.end()) { 156 for (const auto& session_kv : sessions_) { 182 for (const auto& session_kv : sessions_) { 208 for (const auto& session_kv : sessions_) {
|
session_mgr.h | 78 // that sessions_'s WorkerSessions are deleted (which do not own the 96 std::map<string, std::shared_ptr<WorkerSession>> sessions_ GUARDED_BY(mu_);
|
master.h | 87 std::unordered_map<string, MasterSession*> sessions_ GUARDED_BY(mu_);
|
master.cc | 102 for (const auto& entry : sessions_) { 117 for (const auto& handle : handles) sessions_.erase(handle); 125 session = gtl::FindPtrOrNull(sessions_, handle); 489 CHECK(sessions_.insert({session->handle(), session}).second); 564 auto iter = sessions_.find(req->session_handle()); 565 if (iter == sessions_.end()) { 573 // `sessions_[req->session_handle()]` to `session`. 575 sessions_.erase(iter); 653 // Vector to hold the session pointers present in the sessions_ 659 // `sessions_` map to the `sessions_to_close` vector [all...] |
/external/perfetto/src/tracing/api_impl/ |
consumer_api.cc | 295 std::map<Handle, std::unique_ptr<TracingSession>> sessions_; member in class:perfetto::consumer::__anon35972::TracingController 339 sessions_.emplace(handle, std::unique_ptr<TracingSession>(session)); 349 auto it = sessions_.find(handle); 350 if (it == sessions_.end()) { 360 auto it = sessions_.find(handle); 361 if (it == sessions_.end()) 370 auto it = sessions_.find(handle); 371 if (it == sessions_.end()) { 392 auto it = sessions_.find(handle); 393 if (it == sessions_.end() [all...] |
/device/google/contexthub/contexthubhal/ |
system_comms.cpp | [all...] |
system_comms.h | 420 SessionMap sessions_; member in class:android::nanohub::SystemComm::SessionManager 428 isActive(pos) ? pos++ : pos = sessions_.erase(pos);
|
/external/tensorflow/tensorflow/core/common_runtime/ |
direct_session.cc | 168 sessions_.push_back(session); 182 std::swap(sessions_to_reset, sessions_); 198 sessions_.erase(std::remove(sessions_.begin(), sessions_.end(), session), 199 sessions_.end()); 204 std::vector<DirectSession*> sessions_ GUARDED_BY(sessions_lock_); [all...] |