/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | session_mgr_test.cc | 70 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 …]
|
D | master.cc | 496 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 …]
|
D | session_mgr.cc | 118 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()
|
D | message_wrappers.cc | 40 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 …]
|
D | worker.cc | 48 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()
|
D | message_wrappers.h | 55 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;
|
D | session_mgr.h | 53 Status WorkerSessionForSession(const string& session_handle, 91 const string& session_handle, std::shared_ptr<WorkerSession>* out_session)
|
D | message_wrappers_test.cc | 53 EXPECT_EQ("handle", request.session_handle()); in CheckRunStepRequest()
|
D | master_test.cc | 73 *handle = resp.session_handle(); in CreateSession()
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_segment.cc | 38 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()
|
D | op_segment.h | 49 void AddHold(const string& session_handle); 50 void RemoveHold(const string& session_handle); 60 Status FindOrCreate(const string& session_handle, const string& node_name,
|
D | op_kernel.h | 641 string session_handle; member 1076 string session_handle() const { return params_->session_handle; } in session_handle() function
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | master.proto | 55 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 …]
|
D | worker.proto | 61 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 …]
|
D | replay_log.proto | 14 string session_handle = 2; field
|
/external/u-boot/drivers/tpm/ |
D | tpm2_tis_sandbox.c | 73 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/ |
D | ipmi.h | 105 unsigned char session_handle; member
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | optimization_registry.h | 39 string session_handle; member
|
D | graph_execution_state.h | 45 string session_handle; member
|
D | executor.h | 92 string session_handle; member
|
D | graph_execution_state.cc | 64 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()
|
D | direct_session.cc | 372 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()
|
D | executor.cc | 1385 session_handle_(args.session_handle), in ExecutorState() 1631 params.session_handle = session_handle_; in Process()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_session.cc | 127 SetHandleAndGraphVersion(resp.session_handle(), resp.graph_version()); in CreateImpl() 355 if (req.session_handle().empty()) { in ListDevices()
|