Home
last modified time | relevance | path

Searched refs:session_options (Results 1 – 25 of 97) sorted by relevance

1234

/external/tensorflow/tensorflow/cc/saved_model/
Dsaved_model_bundle_test.cc113 SessionOptions session_options; in TEST_F() local
119 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
127 SessionOptions session_options; in TEST_F() local
132 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
139 SessionOptions session_options; in TEST_F() local
144 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
155 SessionOptions session_options; in TEST_F() local
160 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
168 session_options, actual_bundle.meta_graph_def, &actual_bundle.session)); in TEST_F()
177 SessionOptions session_options; in TEST_F() local
[all …]
Dsaved_model_bundle_lite_test.cc114 SessionOptions session_options; in TEST_F() local
120 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
128 SessionOptions session_options; in TEST_F() local
133 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
141 SessionOptions session_options; in TEST_F() local
146 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
154 SessionOptions session_options; in TEST_F() local
158 Status st = LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
170 SessionOptions session_options; in TEST_F() local
174 Status st = LoadSavedModel(session_options, run_options, export_dir, in TEST_F()
[all …]
Dloader.h110 Status LoadMetagraphIntoSession(const SessionOptions& session_options,
120 Status LoadSavedModel(const SessionOptions& session_options,
132 Status LoadSavedModel(const SessionOptions& session_options,
Dloader.cc242 Status LoadMetagraphIntoSession(const SessionOptions& session_options, in LoadMetagraphIntoSession() argument
246 TF_RETURN_IF_ERROR(NewSession(session_options, &session_p)); in LoadMetagraphIntoSession()
252 Status LoadSavedModelInternal(const SessionOptions& session_options, in LoadSavedModelInternal() argument
262 session_options, bundle->meta_graph_def, &bundle->session)); in LoadSavedModelInternal()
268 Status LoadSavedModel(const SessionOptions& session_options, in LoadSavedModel() argument
274 const Status status = LoadSavedModelInternal(session_options, run_options, in LoadSavedModel()
432 Status LoadSavedModel(const SessionOptions& session_options, in LoadSavedModel() argument
437 SessionOptions rewritten_options(session_options); in LoadSavedModel()
/external/tensorflow/tensorflow/core/kernels/
Dimmutable_constant_op_test.cc105 SessionOptions session_options; in TEST() local
106 session_options.env = Env::Default(); in TEST()
107 session_options.config.mutable_graph_options() in TEST()
110 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
137 SessionOptions session_options; in TEST() local
138 session_options.env = Env::Default(); in TEST()
139 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
178 SessionOptions session_options; in TEST() local
179 session_options.config.mutable_graph_options() in TEST()
182 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass_test_helper.cc35 SessionOptions session_options; in MarkForCompilation() local
37 session_options.config.mutable_graph_options() in MarkForCompilation()
47 TF_RETURN_IF_ERROR(DeviceFactory::AddDevices(session_options, "", &devices)); in MarkForCompilation()
51 opt_options.session_options = &session_options; in MarkForCompilation()
Dtest_util.h47 session_options.env = Env::Default();
55 options.session_options = &session_options; in CreateGraphOptimizationPassOptions()
62 SessionOptions session_options; member
Dforce_xla_constants_on_host_pass_test.cc45 SessionOptions session_options; in ForceXlaConstantsOnHost() local
46 session_options.env = Env::Default(); in ForceXlaConstantsOnHost()
48 options.session_options = &session_options; in ForceXlaConstantsOnHost()
Dxla_gpu_device.cc95 const SessionOptions& session_options, const string& name_prefix, in CreateDevices() argument
130 auto iter = session_options.config.device_count().find("GPU"); in CreateDevices()
131 if (iter != session_options.config.device_count().end() && in CreateDevices()
138 session_options.config.gpu_options().visible_device_list(); in CreateDevices()
157 auto device = absl::make_unique<XlaDevice>(session_options, options); in CreateDevices()
Dclone_constants_for_better_clustering_test.cc34 SessionOptions session_options; in CloneConstantsForBetterClustering() local
35 session_options.config.mutable_graph_options() in CloneConstantsForBetterClustering()
40 options.session_options = &session_options; in CloneConstantsForBetterClustering()
/external/webrtc/pc/
Dmedia_session.cc619 const MediaSessionOptions& session_options) { in GetActiveContents() argument
622 RTC_DCHECK_LT(i, session_options.media_description_options.size()); in GetActiveContents()
625 session_options.media_description_options[i]; in GetActiveContents()
672 const MediaSessionOptions& session_options, in CreateContentOffer() argument
680 offer->set_rtcp_mux(session_options.rtcp_mux_enabled); in CreateContentOffer()
721 const MediaSessionOptions& session_options, in CreateMediaContentOffer() argument
732 session_options.rtcp_cname, ssrc_generator, in CreateMediaContentOffer()
737 return CreateContentOffer(media_description_options, session_options, in CreateMediaContentOffer()
1198 const MediaSessionOptions& session_options, in SetCodecsInAnswer() argument
1208 session_options.rtcp_cname, ssrc_generator, in SetCodecsInAnswer()
[all …]
Dmedia_session.h236 const MediaSessionOptions& session_options,
247 const MediaSessionOptions& session_options,
258 const MediaSessionOptions& session_options,
266 const MediaSessionOptions& session_options,
278 const MediaSessionOptions& session_options,
288 const MediaSessionOptions& session_options,
302 const MediaSessionOptions& session_options,
316 const MediaSessionOptions& session_options,
Dwebrtc_session_description_factory.cc48 const cricket::MediaSessionOptions& session_options) { in ValidMediaSessionOptions() argument
51 session_options.media_description_options) { in ValidMediaSessionOptions()
218 const cricket::MediaSessionOptions& session_options) { in CreateOffer() argument
227 if (!ValidMediaSessionOptions(session_options)) { in CreateOffer()
235 CreateSessionDescriptionRequest::kOffer, observer, session_options); in CreateOffer()
247 const cricket::MediaSessionOptions& session_options) { in CreateAnswer() argument
268 if (!ValidMediaSessionOptions(session_options)) { in CreateAnswer()
276 CreateSessionDescriptionRequest::kAnswer, observer, session_options); in CreateAnswer()
Dpeer_connection.cc1026 cricket::MediaSessionOptions* session_options) { in ExtractSharedMediaSessionOptions() argument
1027 session_options->vad_enabled = rtc_options.voice_activity_detection; in ExtractSharedMediaSessionOptions()
1028 session_options->bundle_enabled = rtc_options.use_rtp_mux; in ExtractSharedMediaSessionOptions()
1029 session_options->raw_packetization_for_video = in ExtractSharedMediaSessionOptions()
2233 cricket::MediaSessionOptions session_options; in DoCreateOffer() local
2234 GetOptionsForOffer(options, &session_options); in DoCreateOffer()
2235 webrtc_session_desc_factory_->CreateOffer(observer, options, session_options); in DoCreateOffer()
2389 cricket::MediaSessionOptions session_options; in DoCreateAnswer() local
2390 GetOptionsForAnswer(options, &session_options); in DoCreateAnswer()
2392 webrtc_session_desc_factory_->CreateAnswer(observer, session_options); in DoCreateAnswer()
[all …]
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate_data_test.cc31 tensorflow::SessionOptions session_options; in TEST() local
32 session_options.config.set_intra_op_parallelism_threads(2); in TEST()
33 EXPECT_TRUE(data.Prepare(session_options).ok()); in TEST()
Ddelegate_data.cc31 const tensorflow::SessionOptions& session_options) { in Prepare() argument
39 session_options, "/job:localhost/replica:0/task:0", &devices)); in Prepare()
47 session_options, in Prepare()
Ddelegate.cc65 tensorflow::SessionOptions session_options; in Initialize() local
67 session_options.config.set_intra_op_parallelism_threads( in Initialize()
71 auto status = delegate_data_.Prepare(session_options); in Initialize()
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_function_call_op_test.cc52 SessionOptions session_options; in SessionOptionsWithInlining() local
53 session_options.config.mutable_graph_options() in SessionOptionsWithInlining()
56 return session_options; in SessionOptionsWithInlining()
62 SessionOptions session_options = SessionOptionsWithInlining(); in Rewrite() local
63 opt_options.session_options = &session_options; in Rewrite()
Dlower_functional_ops.cc104 options.session_options && options.session_options->config.graph_options() in Run()
122 options.session_options && in Run()
123 (options.session_options->config.experimental().executor_type() == in Run()
Dlower_functional_ops_test.cc49 SessionOptions session_options; in SessionOptionsWithInlining() local
50 session_options.config.mutable_graph_options() in SessionOptionsWithInlining()
53 return session_options; in SessionOptionsWithInlining()
59 SessionOptions session_options = SessionOptionsWithInlining(); in Rewrite() local
60 opt_options.session_options = &session_options; in Rewrite()
Dlower_if_op_test.cc45 SessionOptions session_options; in SessionOptionsWithInlining() local
46 session_options.config.mutable_graph_options() in SessionOptionsWithInlining()
49 return session_options; in SessionOptionsWithInlining()
55 SessionOptions session_options = SessionOptionsWithInlining(); in Rewrite() local
56 opt_options.session_options = &session_options; in Rewrite()
Dlower_case_op_test.cc47 SessionOptions session_options; in SessionOptionsWithInlining() local
48 session_options.config.mutable_graph_options() in SessionOptionsWithInlining()
51 return session_options; in SessionOptionsWithInlining()
57 SessionOptions session_options = SessionOptionsWithInlining(); in Rewrite() local
58 opt_options.session_options = &session_options; in Rewrite()
/external/tensorflow/tensorflow/tools/optimization/
Doptimization_pass_runner.cc96 auto session_options = absl::make_unique<SessionOptions>(); in Run() local
97 session_options->config.mutable_graph_options() in Run()
104 options.session_options = session_options.get(); in Run()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dshape_optimizer_test.cc79 SessionOptions session_options; in TEST_F() local
80 session_options.config.mutable_gpu_options() in TEST_F()
82 session_options.env = Env::Default(); in TEST_F()
84 ->AddDevices(session_options, "", &devices)); in TEST_F()
/external/tensorflow/tensorflow/core/public/
DBUILD14 "session_options.h",
33 "session_options.h",

1234