Home
last modified time | relevance | path

Searched refs:session_handle (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/
Dsession_mgr_test.cc70 string session_handle = "test_session_handle"; in TEST_F() local
71 TF_EXPECT_OK(mgr_.CreateSession(session_handle, server_def, true)); in TEST_F()
73 TF_EXPECT_OK(mgr_.WorkerSessionForSession(session_handle, &session)); in TEST_F()
74 EXPECT_NE(nullptr, session) << "Session for " << session_handle << "was null"; in TEST_F()
76 TF_EXPECT_OK(mgr_.DeleteSession(session_handle)); in TEST_F()
87 string session_handle = "test_session_handle"; in TEST_F() local
88 TF_EXPECT_OK(mgr_.CreateSession(session_handle, server_def, true)); in TEST_F()
90 TF_EXPECT_OK(mgr_.WorkerSessionForSession(session_handle, &session)); in TEST_F()
91 EXPECT_NE(nullptr, session) << "Session for " << session_handle << "was null"; in TEST_F()
93 TF_EXPECT_OK(mgr_.DeleteSession(session_handle)); in TEST_F()
[all …]
Dmaster.cc496 auto session = FindMasterSession(req->session_handle()); in ExtendSession()
498 done(errors::Aborted("Session ", req->session_handle(), " is not found.")); in ExtendSession()
520 auto session = FindMasterSession(req->session_handle()); in PartialRunSetup()
522 done(errors::Aborted("Session ", req->session_handle(), " is not found.")); in PartialRunSetup()
542 auto session = FindMasterSession(req->session_handle()); in RunStep()
544 done(errors::Aborted("Session ", req->session_handle(), " is not found.")); in RunStep()
564 auto iter = sessions_.find(req->session_handle()); in CloseSession()
568 "Session ", req->session_handle(), in CloseSession()
591 if (!req->session_handle().empty()) { in ListDevices()
592 auto session = FindMasterSession(req->session_handle()); in ListDevices()
[all …]
Dsession_mgr.cc118 const string& session_handle, std::shared_ptr<WorkerSession>* out_session) { in WorkerSessionForSessionLocked() argument
119 if (session_handle.empty()) { in WorkerSessionForSessionLocked()
122 auto it = sessions_.find(session_handle); in WorkerSessionForSessionLocked()
124 return errors::Aborted("Session handle is not found: ", session_handle, in WorkerSessionForSessionLocked()
136 const string& session_handle, std::shared_ptr<WorkerSession>* out_session) { in WorkerSessionForSession() argument
138 return WorkerSessionForSessionLocked(session_handle, out_session); in WorkerSessionForSession()
Dmessage_wrappers.cc40 const string& InMemoryRunStepRequest::session_handle() const { in session_handle() function in tensorflow::InMemoryRunStepRequest
116 proto_version_->set_session_handle(session_handle()); in ToProto()
134 const string& MutableProtoRunStepRequest::session_handle() const { in session_handle() function in tensorflow::MutableProtoRunStepRequest
135 return request_.session_handle(); in session_handle()
232 const string& ProtoRunStepRequest::session_handle() const { in session_handle() function in tensorflow::ProtoRunStepRequest
233 return request_->session_handle(); in session_handle()
291 const string& InMemoryRunGraphRequest::session_handle() const { in session_handle() function in tensorflow::InMemoryRunGraphRequest
398 proto_version_->set_session_handle(session_handle()); in ToProto()
418 const string& MutableProtoRunGraphRequest::session_handle() const { in session_handle() function in tensorflow::MutableProtoRunGraphRequest
419 return request_.session_handle(); in session_handle()
[all …]
Dworker.cc48 Status s = env_->session_mgr->CreateSession(request->session_handle(), in CreateWorkerSessionAsync()
58 Status s = env_->session_mgr->DeleteSession(request->session_handle()); in DeleteWorkerSessionAsync()
68 s = env_->session_mgr->WorkerSessionForSession(request->session_handle(), in RegisterGraphAsync()
75 request->session_handle(), request->graph_def(), in RegisterGraphAsync()
89 s = env_->session_mgr->WorkerSessionForSession(request->session_handle(), in DeregisterGraphAsync()
162 s = env_->session_mgr->WorkerSessionForSession(request->session_handle(), in DoRunGraph()
273 s = env_->session_mgr->WorkerSessionForSession(request->session_handle(), in DoPartialRunGraph()
Dmessage_wrappers.h55 virtual const string& session_handle() const = 0;
118 const string& session_handle() const override;
169 const string& session_handle() const override;
210 const string& session_handle() const override;
253 virtual const string& session_handle() const = 0;
328 const string& session_handle() const override;
385 const string& session_handle() const override;
426 const string& session_handle() const override;
Dsession_mgr.h53 Status WorkerSessionForSession(const string& session_handle,
91 const string& session_handle, std::shared_ptr<WorkerSession>* out_session)
Dmessage_wrappers_test.cc53 EXPECT_EQ("handle", request.session_handle()); in CheckRunStepRequest()
Dmaster_test.cc73 *handle = resp.session_handle(); in CreateSession()
/external/tensorflow/tensorflow/core/framework/
Dop_segment.cc38 Status OpSegment::FindOrCreate(const string& session_handle, in FindOrCreate() argument
43 auto item = gtl::FindPtrOrNull(sessions_, session_handle); in FindOrCreate()
45 return errors::NotFound("Session ", session_handle, " is not found."); in FindOrCreate()
59 auto item = gtl::FindPtrOrNull(sessions_, session_handle); in FindOrCreate()
61 return errors::NotFound("Session ", session_handle, " is not found."); in FindOrCreate()
74 void OpSegment::AddHold(const string& session_handle) { in AddHold() argument
76 Item** item = &sessions_[session_handle]; in AddHold()
84 void OpSegment::RemoveHold(const string& session_handle) { in RemoveHold() argument
88 auto siter = sessions_.find(session_handle); in RemoveHold()
90 VLOG(1) << "Session " << session_handle << " is not found."; in RemoveHold()
Dop_segment.h49 void AddHold(const string& session_handle);
50 void RemoveHold(const string& session_handle);
60 Status FindOrCreate(const string& session_handle, const string& node_name,
Dop_kernel.h641 string session_handle; member
1076 string session_handle() const { return params_->session_handle; } in session_handle() function
/external/tensorflow/tensorflow/core/protobuf/
Dmaster.proto55 string session_handle = 1; field
75 // CreateSession or ExtendSession with the same session_handle.
81 // REQUIRED: session_handle must be returned by a CreateSession call
83 string session_handle = 1; field
114 // REQUIRED: session_handle must be returned by a CreateSession call
116 string session_handle = 1; field
177 // REQUIRED: session_handle must be returned by a CreateSession call
179 string session_handle = 1; field
214 // REQUIRED: session_handle must be returned by a CreateSession call
216 string session_handle = 1; field
[all …]
Dworker.proto61 string session_handle = 1; field
84 string session_handle = 1; field
106 string session_handle = 1; field
108 // Set to true if `CreateWorkerSession` was called for `session_handle`.
156 // The session_handle used when registering the graph. If session_handle is
158 string session_handle = 2; field
160 // Set to true if `CreateWorkerSession` was called for `session_handle`.
213 // session_handle is the master-generated unique id for this session.
214 // If session_handle is non-empty, it must be the same as used when
217 string session_handle = 8; field
[all …]
Dreplay_log.proto14 string session_handle = 2; field
/external/u-boot/drivers/tpm/
Dtpm2_tis_sandbox.c73 u32 handle, auth_sz, session_handle; in sandbox_tpm2_check_session() local
139 session_handle = get_unaligned_be32(*auth); in sandbox_tpm2_check_session()
140 *auth += sizeof(session_handle); in sandbox_tpm2_check_session()
141 if (session_handle != TPM2_RS_PW) { in sandbox_tpm2_check_session()
142 printf("Wrong session handle 0x%x\n", session_handle); in sandbox_tpm2_check_session()
/external/kernel-headers/original/uapi/linux/
Dipmi.h105 unsigned char session_handle; member
/external/tensorflow/tensorflow/core/common_runtime/
Doptimization_registry.h39 string session_handle; member
Dgraph_execution_state.h45 string session_handle; member
Dexecutor.h92 string session_handle; member
Dgraph_execution_state.cc64 session_handle_(options.session_handle), in GraphExecutionState()
204 combined_options.session_handle = session_handle_; in Extend()
565 optimization_options.session_handle = session_handle_; in InitBaseGraph()
Ddirect_session.cc372 options.session_handle = session_handle_; in MaybeInitializeExecutionState()
536 args.session_handle = session_handle_; in RunInternal()
892 args.session_handle = session_handle_; in PRunSetup()
1476 prune_options.session_handle = session_handle_; in CreateGraphs()
Dexecutor.cc1385 session_handle_(args.session_handle), in ExecutorState()
1631 params.session_handle = session_handle_; in Process()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session.cc127 SetHandleAndGraphVersion(resp.session_handle(), resp.graph_version()); in CreateImpl()
355 if (req.session_handle().empty()) { in ListDevices()