Home
last modified time | relevance | path

Searched refs:SessionOptions (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device_test.cc71 static SessionOptions MakeSessionOptions( in MakeSessionOptions()
78 SessionOptions options;
146 SessionOptions opts = MakeSessionOptions("0", 0, 1, {}, {}, {}, in TEST_F()
173 SessionOptions opts = MakeSessionOptions("0", 0, 1, {}, {}, {}, in TEST_F()
206 SessionOptions opts = MakeSessionOptions("0,abc"); in TEST_F()
215 SessionOptions opts = MakeSessionOptions("100"); in TEST_F()
225 SessionOptions opts = MakeSessionOptions("0,0"); in TEST_F()
235 SessionOptions opts = MakeSessionOptions("0", 0.1, 1, {{}}); in TEST_F()
247 SessionOptions opts = MakeSessionOptions("0", 0, 0, {{}}); in TEST_F()
259 SessionOptions opts = MakeSessionOptions("0", 0, 8, {{}, {}}); in TEST_F()
[all …]
Dgpu_device_factory.cc31 GPUDevice(const SessionOptions& options, const string& name, in GPUDevice()
65 const SessionOptions& options, const string& name, Bytes memory_limit, in CreateGPUDevice()
83 GPUCompatibleCPUDevice(const SessionOptions& options, const string& name, in GPUCompatibleCPUDevice()
119 Status CreateDevices(const SessionOptions& options, const string& name_prefix, in CreateDevices()
/external/tensorflow/tensorflow/cc/saved_model/
Dsaved_model_bundle_test.cc116 SessionOptions session_options; in TEST_F()
130 SessionOptions session_options; in TEST_F()
142 SessionOptions session_options; in TEST_F()
158 SessionOptions session_options; in TEST_F()
180 SessionOptions session_options; in TEST_F()
196 SessionOptions session_options; in TEST_F()
213 SessionOptions session_options; in TEST_F()
229 SessionOptions session_options; in TEST_F()
241 SessionOptions session_options; in TEST_F()
254 SessionOptions session_options; in TEST_F()
[all …]
Dsaved_model_bundle_lite_test.cc114 SessionOptions session_options; in TEST_F()
128 SessionOptions session_options; in TEST_F()
141 SessionOptions session_options; in TEST_F()
154 SessionOptions session_options; in TEST_F()
170 SessionOptions session_options; in TEST_F()
187 SessionOptions session_options; in TEST_F()
203 SessionOptions session_options; in TEST_F()
215 SessionOptions session_options; in TEST_F()
228 SessionOptions session_options; in TEST_F()
256 SessionOptions session_options; in TEST_F()
Dloader.h111 Status LoadMetagraphIntoSession(const SessionOptions& session_options,
121 Status LoadSavedModel(const SessionOptions& session_options,
133 Status LoadSavedModel(const SessionOptions& session_options,
/external/tensorflow/tensorflow/core/common_runtime/
Dsession_factory.h29 struct SessionOptions;
36 virtual Status NewSession(const SessionOptions& options,
39 virtual bool AcceptsOptions(const SessionOptions& options) = 0;
63 virtual Status Reset(const SessionOptions& options, in Reset()
70 static Status GetFactory(const SessionOptions& options,
Dsession_test.cc27 SessionOptions options; in TEST()
46 bool AcceptsOptions(const SessionOptions& options) override { in AcceptsOptions()
50 Status NewSession(const SessionOptions& options, in NewSession()
66 SessionOptions options; in TEST()
Dprocess_util.h31 thread::ThreadPool* ComputePool(const SessionOptions& options);
45 int32 NumInterOpThreadsFromSessionOptions(const SessionOptions& options);
49 const SessionOptions& options);
Dprocess_util.cc74 static thread::ThreadPool* InitComputePool(const SessionOptions& options) { in InitComputePool()
88 thread::ThreadPool* ComputePool(const SessionOptions& options) { in ComputePool()
125 int32 NumInterOpThreadsFromSessionOptions(const SessionOptions& options) { in NumInterOpThreadsFromSessionOptions()
157 const SessionOptions& options) { in NewThreadPoolFromSessionOptions()
Dsession_options.cc22 SessionOptions::SessionOptions() : env(Env::Default()) {} in SessionOptions() function in tensorflow::SessionOptions
Dsession.cc62 Session* NewSession(const SessionOptions& options) { in NewSession()
76 Status NewSession(const SessionOptions& options, Session** out_session) { in NewSession()
96 Status Reset(const SessionOptions& options, in Reset()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext_test.cc52 void InitContext(const SessionOptions& opts, in InitContext()
81 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
116 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
144 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
165 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
202 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
242 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT, /*async=*/true); in TEST_F()
309 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT, /*async=*/true); in TEST_F()
342 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
390 InitContext(SessionOptions(), DEVICE_PLACEMENT_EXPLICIT); in TEST_F()
[all …]
Dplacement_test.cc82 void InitContext(const SessionOptions& opts, in InitContext()
98 SessionOptions opts; in InitDeviceManager()
113 SessionOptions options; in TEST_F()
154 SessionOptions options; in TEST_F()
/external/tensorflow/tensorflow/core/tfrt/fallback/
Dfallback_state.h38 const SessionOptions &session_options,
41 FallbackState(const SessionOptions &session_options,
50 const SessionOptions &session_options() const { return session_options_; } in session_options()
62 SessionOptions session_options_;
/external/tensorflow/tensorflow/core/framework/
Ddevice_factory.h29 struct SessionOptions;
46 static Status AddCpuDevices(const SessionOptions& options,
54 static Status AddDevices(const SessionOptions& options,
62 const SessionOptions& options,
93 const SessionOptions& options, const std::string& name_prefix,
/external/tensorflow/tensorflow/core/kernels/
Dbasic_ops_benchmark_test.cc26 static SessionOptions InitOptions() { in InitOptions()
27 SessionOptions opts; in InitOptions()
33 static SessionOptions* GetOptions() { in GetOptions()
34 static SessionOptions opts = InitOptions(); in GetOptions()
Dsdca_ops_test.cc29 const SessionOptions* GetSingleThreadedOptions() { in GetSingleThreadedOptions()
30 static const SessionOptions* const kSessionOptions = []() { in GetSingleThreadedOptions()
31 SessionOptions* const result = new SessionOptions(); in GetSingleThreadedOptions()
40 const SessionOptions* GetMultiThreadedOptions() { in GetMultiThreadedOptions()
41 static const SessionOptions* const kSessionOptions = []() { in GetMultiThreadedOptions()
42 SessionOptions* const result = new SessionOptions(); in GetMultiThreadedOptions()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_batch_norms_test.cc69 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2D()
78 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2D()
120 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsDepthwiseConv2dNative()
129 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsDepthwiseConv2dNative()
179 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2DShared()
189 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2DShared()
228 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsMatMul()
237 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsMatMul()
Dfuse_convolutions_test.cc78 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFuseResizePadAndConv()
87 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFuseResizePadAndConv()
128 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFuseResizeAndConv()
137 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFuseResizeAndConv()
180 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFusePadAndConv()
189 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFusePadAndConv()
Dfold_old_batch_norms_test.cc103 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldOldBatchNorms()
112 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldOldBatchNorms()
181 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
190 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
258 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNorms()
267 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldFusedBatchNorms()
335 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative()
344 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative()
436 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsWithConcat()
445 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsWithConcat()
[all …]
/external/pigweed/pw_tls_client/public/pw_tls_client/
Doptions.h26 class SessionOptions {
36 constexpr SessionOptions& set_server_name(std::string_view server_name) { in set_server_name()
45 constexpr SessionOptions& set_transport(stream::ReaderWriter& transport) { in set_transport()
/external/pigweed/pw_tls_client_boringssl/
Dtls_client_boringssl.cc21 SessionImplementation::SessionImplementation(SessionOptions) { in SessionImplementation() argument
29 Session::Session(const SessionOptions& options) : session_impl_(options) { in Session()
35 Result<Session*> Session::Create(const SessionOptions&) { in Create() argument
/external/pigweed/pw_tls_client_mbedtls/
Dtls_client_mbedtls_test.cc22 auto options = SessionOptions().set_transport(stream::NullStream::Instance()); in TEST()
29 auto options = SessionOptions(); in TEST()
36 auto options = SessionOptions().set_transport(stream::NullStream::Instance()); in TEST()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session.h51 explicit GrpcSession(const SessionOptions& options);
54 static Status Create(const SessionOptions& options,
57 static Status Reset(const SessionOptions& options,
118 const SessionOptions options_;
/external/tensorflow/tensorflow/core/public/
Dsession_options.h28 struct SessionOptions { struct
60 SessionOptions(); argument

12345678910