/external/tensorflow/tensorflow/cc/saved_model/ |
D | loader_test.cc | 105 SessionOptions session_options; in TEST_F() local 111 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F() 119 SessionOptions session_options; in TEST_F() local 124 TF_ASSERT_OK(LoadSavedModel(session_options, run_options, export_dir, in TEST_F() 132 SessionOptions session_options; in TEST_F() local 136 Status st = LoadSavedModel(session_options, run_options, export_dir, in TEST_F() 148 SessionOptions session_options; in TEST_F() local 152 Status st = LoadSavedModel(session_options, run_options, export_dir, in TEST_F() 165 SessionOptions session_options; in TEST_F() local 167 session_options.target = kInvalidTarget; in TEST_F() [all …]
|
D | loader.cc | 68 const SessionOptions& session_options, in LoadMetaGraphIntoSession() argument 71 TF_RETURN_IF_ERROR(NewSession(session_options, &session_p)); in LoadMetaGraphIntoSession() 259 Status LoadSavedModelInternal(const SessionOptions& session_options, in LoadSavedModelInternal() argument 269 bundle->meta_graph_def, session_options, &bundle->session)); in LoadSavedModelInternal() 301 Status LoadSavedModel(const SessionOptions& session_options, in LoadSavedModel() argument 307 const Status status = LoadSavedModelInternal(session_options, run_options, in LoadSavedModel()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | immutable_constant_op_test.cc | 101 SessionOptions session_options; in TEST() local 102 session_options.env = Env::Default(); in TEST() 103 session_options.config.mutable_graph_options() in TEST() 106 std::unique_ptr<Session> session(NewSession(session_options)); in TEST() 133 SessionOptions session_options; in TEST() local 134 session_options.env = Env::Default(); in TEST() 135 std::unique_ptr<Session> session(NewSession(session_options)); in TEST() 174 SessionOptions session_options; in TEST() local 175 session_options.config.mutable_graph_options() in TEST() 178 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
|
D | collective_nccl_reducer_test.cc | 80 SessionOptions session_options; in InitGPUDevices() local 81 session_options.config.mutable_gpu_options() in InitGPUDevices() 83 session_options.env = Env::Default(); in InitGPUDevices() 85 ->AddDevices(session_options, "", &all_devices); in InitGPUDevices()
|
/external/webrtc/talk/app/webrtc/ |
D | peerconnection.cc | 367 cricket::MediaSessionOptions* session_options, in AddSendStreams() argument 371 session_options->streams.clear(); in AddSendStreams() 373 session_options->AddSendStream(sender->media_type(), sender->id(), in AddSendStreams() 388 session_options->AddSendStream(cricket::MEDIA_TYPE_DATA, streamid, in AddSendStreams() 449 cricket::MediaSessionOptions* session_options) { in ConvertRtcOptionsForOffer() argument 457 session_options->recv_audio = (rtc_options.offer_to_receive_audio > 0); in ConvertRtcOptionsForOffer() 460 session_options->recv_video = (rtc_options.offer_to_receive_video > 0); in ConvertRtcOptionsForOffer() 463 session_options->vad_enabled = rtc_options.voice_activity_detection; in ConvertRtcOptionsForOffer() 464 session_options->audio_transport_options.ice_restart = in ConvertRtcOptionsForOffer() 466 session_options->video_transport_options.ice_restart = in ConvertRtcOptionsForOffer() [all …]
|
D | webrtcsessiondescriptionfactory.cc | 259 const cricket::MediaSessionOptions& session_options) { in CreateOffer() argument 268 if (!ValidStreams(session_options.streams)) { in CreateOffer() 276 CreateSessionDescriptionRequest::kOffer, observer, session_options); in CreateOffer() 289 const cricket::MediaSessionOptions& session_options) { in CreateAnswer() argument 311 if (!ValidStreams(session_options.streams)) { in CreateAnswer() 319 CreateSessionDescriptionRequest::kAnswer, observer, session_options); in CreateAnswer()
|
D | webrtcsession_unittest.cc | 536 void AddStreamsToOptions(cricket::MediaSessionOptions* session_options) { in AddStreamsToOptions() argument 538 session_options->AddSendStream(cricket::MEDIA_TYPE_AUDIO, kAudioTrack1, in AddStreamsToOptions() 542 session_options->AddSendStream(cricket::MEDIA_TYPE_VIDEO, kVideoTrack1, in AddStreamsToOptions() 546 session_options->AddSendStream(cricket::MEDIA_TYPE_AUDIO, kAudioTrack2, in AddStreamsToOptions() 550 session_options->AddSendStream(cricket::MEDIA_TYPE_VIDEO, kVideoTrack2, in AddStreamsToOptions() 554 session_options->AddSendStream(cricket::MEDIA_TYPE_DATA, in AddStreamsToOptions() 562 cricket::MediaSessionOptions* session_options) { in GetOptionsForOffer() argument 563 ASSERT_TRUE(ConvertRtcOptionsForOffer(rtc_options, session_options)); in GetOptionsForOffer() 565 AddStreamsToOptions(session_options); in GetOptionsForOffer() 568 session_options->recv_audio = in GetOptionsForOffer() [all …]
|
D | peerconnection.h | 52 cricket::MediaSessionOptions* session_options); 57 cricket::MediaSessionOptions* session_options); 220 cricket::MediaSessionOptions* session_options); 226 cricket::MediaSessionOptions* session_options);
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | mark_for_compilation_pass_test_helper.cc | 33 SessionOptions session_options; in MarkForCompilation() local 35 session_options.config.mutable_graph_options() in MarkForCompilation() 45 TF_RETURN_IF_ERROR(DeviceFactory::AddDevices(session_options, "", &devices)); in MarkForCompilation() 49 opt_options.session_options = &session_options; in MarkForCompilation()
|
D | xla_gpu_device.cc | 63 const SessionOptions& session_options, const string& name_prefix, in CreateDevices() argument 83 session_options.config.gpu_options().visible_device_list(); in CreateDevices() 102 auto device = absl::make_unique<XlaDevice>(session_options, options); in CreateDevices()
|
D | clone_constants_for_better_clustering_test.cc | 33 SessionOptions session_options; in CloneConstantsForBetterClustering() local 34 session_options.config.mutable_graph_options() in CloneConstantsForBetterClustering() 39 options.session_options = &session_options; in CloneConstantsForBetterClustering()
|
D | xla_interpreter_device.cc | 40 const SessionOptions& session_options, const string& name_prefix, in CreateDevices() argument 64 devices->push_back(absl::make_unique<XlaDevice>(session_options, options)); in CreateDevices()
|
D | xla_cpu_device.cc | 38 const SessionOptions& session_options, const string& name_prefix, in CreateDevices() argument 66 auto device = absl::make_unique<XlaDevice>(session_options, options); in CreateDevices()
|
D | partially_decluster_pass.cc | 361 if (options.session_options == nullptr || in Run() 362 options.session_options->env == nullptr) { in Run() 368 graph, options.flib_def, options.session_options->env)); in Run()
|
/external/tensorflow/tensorflow/contrib/util/ |
D | convert_graphdef_memmapped_format_test.cc | 73 SessionOptions session_options; in TEST() local 74 session_options.env = &memmapped_env; in TEST() 75 std::unique_ptr<Session> session(NewSession(session_options)); in TEST() 124 SessionOptions session_options; in TEST() local 125 session_options.env = &memmapped_env; in TEST() 126 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | session_bundle_test.cc | 193 SessionOptions session_options; in TEST() local 201 session_options, run_options, export_path, &bundle)); in TEST() 210 SessionOptions session_options; in TEST() local 211 session_options.config.add_session_inter_op_thread_pool(); in TEST() 212 session_options.config.add_session_inter_op_thread_pool()->set_num_threads(2); in TEST() 220 session_options, run_options, export_path, &bundle)); in TEST() 229 SessionOptions session_options; in TEST() local 230 session_options.config.add_session_inter_op_thread_pool(); in TEST() 231 session_options.config.add_session_inter_op_thread_pool()->set_num_threads(2); in TEST() 239 session_options, run_options, export_path, &bundle); in TEST()
|
D | bundle_shim_test.cc | 68 SessionOptions session_options; in LoadAndValidateSavedModelBundle() local 73 session_options, run_options, export_dir, tags, &saved_model_bundle, in LoadAndValidateSavedModelBundle() 523 SessionOptions session_options; in TEST() local 526 TF_ASSERT_OK(LoadSessionBundleOrSavedModelBundle(session_options, run_options, in TEST() 573 SessionOptions session_options; in TEST() local 577 session_options, run_options, invalid_export_dir, {kSavedModelTagServe}, in TEST() 587 SessionOptions session_options; in TEST() local 592 EXPECT_FALSE(LoadSessionBundleOrSavedModelBundle(session_options, run_options, in TEST()
|
D | bundle_shim.cc | 131 const SessionOptions& session_options, const RunOptions& run_options, in LoadSavedModelFromLegacySessionBundlePath() argument 146 session_options, run_options, session_bundle_export_dir, in LoadSavedModelFromLegacySessionBundlePath() 355 const SessionOptions& session_options, const RunOptions& run_options, in LoadSessionBundleOrSavedModelBundle() argument 367 return LoadSavedModel(session_options, run_options, export_dir, in LoadSessionBundleOrSavedModelBundle() 379 session_options, run_options, export_dir, saved_model_bundle); in LoadSessionBundleOrSavedModelBundle()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | delegate_data_test.cc | 31 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()
|
D | delegate_data.cc | 28 const tensorflow::SessionOptions& session_options) { in Prepare() argument 36 session_options, "/job:localhost/replica:0/task:0", &devices)); in Prepare() 44 session_options, in Prepare()
|
D | delegate.cc | 35 tensorflow::SessionOptions session_options; in Prepare() local 37 session_options.config.set_intra_op_parallelism_threads( in Prepare() 42 ->Prepare(session_options) in Prepare()
|
/external/tensorflow/tensorflow/tools/optimization/ |
D | optimization_pass_runner.cc | 102 auto session_options = absl::make_unique<SessionOptions>(); in RunMain() local 103 session_options->config.mutable_graph_options() in RunMain() 110 options.session_options = session_options.release(); in RunMain()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | while_gradients_test.cc | 217 SessionOptions session_options; in TEST_F() local 218 (*session_options.config.mutable_device_count())["CPU"] = 2; in TEST_F() 222 Run<int>(ClientSession(scope_, session_options), {0, 1}, {1, 11}, run_options, in TEST_F()
|
/external/tensorflow/tensorflow/core/common_runtime/data/ |
D | standalone.cc | 51 DeviceFactory::NewDevice("CPU", params.session_options, "")); in FromGraph() 77 NewThreadPoolFromSessionOptions(params.session_options)); in FromGraph()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | BUILD | 63 "//tensorflow/core:session_options", 116 "//tensorflow/core:session_options", 141 "//tensorflow/core:session_options",
|