/third_party/mindspore/mindspore/core/utils/ |
D | ms_context.cc | 36 set_param<bool>(MS_CTX_SAVE_GRAPHS_FLAG, false); in MsContext() 37 set_param<std::string>(MS_CTX_SAVE_GRAPHS_PATH, "."); in MsContext() 43 set_param<std::string>(MS_CTX_PYTHON_EXE_PATH, "python"); in MsContext() 44 set_param<std::string>(MS_CTX_KERNEL_BUILD_SERVER_DIR, ""); in MsContext() 45 set_param<bool>(MS_CTX_ENABLE_DUMP, false); in MsContext() 46 set_param<std::string>(MS_CTX_SAVE_DUMP_PATH, "."); in MsContext() 47 set_param<std::string>(MS_CTX_ENV_CONFIG_PATH, ""); in MsContext() 48 set_param<std::string>(MS_CTX_TUNE_MODE, "NO_TUNE"); in MsContext() 49 set_param<std::string>(MS_CTX_GRAPH_KERNEL_FLAGS, ""); in MsContext() 50 set_param<uint32_t>(MS_CTX_TSD_REF, 0); in MsContext() [all …]
|
D | ms_context.h | 163 void set_param(MsCtxParam param, const T &value) { in set_param() function 202 inline void MsContext::set_param<bool>(MsCtxParam param, const bool &value) { 212 inline void MsContext::set_param<int>(MsCtxParam param, const int &value) { 217 inline void MsContext::set_param<uint32_t>(MsCtxParam param, const uint32_t &value) { 222 inline void MsContext::set_param<float>(MsCtxParam param, const float &value) { 227 inline void MsContext::set_param<std::string>(MsCtxParam param, const std::string &value) {
|
/third_party/mindspore/mindspore/ |
D | context.py | 170 def set_param(self, param, value): member in _Context 171 self._context_handle.set_param(param, value) 190 self.set_param(ms_ctx_param.mode, mode) 198 self.set_param(ms_ctx_param.save_graphs_path, _make_directory(save_graphs_path)) 206 self.set_param(ms_ctx_param.device_target, target) 213 self.set_param(ms_ctx_param.tune_mode, tune_mode) 220 self.set_param(ms_ctx_param.device_id, device_id) 225 self.set_param(ms_ctx_param.max_call_depth, max_call_depth) 230 self.set_param(ms_ctx_param.profiling_options, option) 241 self.set_param(ms_ctx_param.variable_memory_max_size, variable_memory_max_size_) [all …]
|
/third_party/mindspore/mindspore/ccsrc/pybind_api/utils/ |
D | ms_context_py.cc | 29 ctx->set_param<bool>(param, value.cast<bool>()); in MsCtxSetParameter() 33 ctx->set_param<int>(param, value.cast<int>()); in MsCtxSetParameter() 37 ctx->set_param<uint32_t>(param, value.cast<uint32_t>()); in MsCtxSetParameter() 41 ctx->set_param<float>(param, value.cast<float>()); in MsCtxSetParameter() 45 ctx->set_param<std::string>(param, value.cast<std::string>()); in MsCtxSetParameter()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/gpu/ |
D | gpu_graph_impl.cc | 56 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in InitEnv() 57 ms_context->set_param<uint32_t>(MS_CTX_DEVICE_ID, device_id_); in InitEnv() 58 ms_context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kGPUDevice); in InitEnv() 75 ms_context->set_param<bool>(MS_CTX_ENABLE_INFER_OPT, true); in InitEnv() 76 ms_context->set_param<std::string>(MS_CTX_INFER_PRECISION_MODE, gpu_info->GetPrecisionMode()); in InitEnv()
|
/third_party/mindspore/mindspore/ccsrc/utils/context/ |
D | context_extends.cc | 116 ms_context_ptr->set_param<uint32_t>(MS_CTX_TSD_REF, 0); in CloseTsd() 132 ms_context_ptr->set_param<bool>(MS_CTX_IS_PYNATIVE_GE_INIT, false); in CloseTsd() 314 ms_context_ptr->set_param(MS_CTX_IS_PYNATIVE_GE_INIT, true); in PynativeInitGe() 328 ms_context_ptr->set_param<uint32_t>(MS_CTX_GE_REF, 0); in FinalizeGe() 341 ms_context_ptr->set_param<bool>(MS_CTX_IS_PYNATIVE_GE_INIT, false); in FinalizeGe()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/ascend/ |
D | ascend_graph_impl.cc | 301 ms_context->set_param<bool>(MS_CTX_ENABLE_HCCL, true); in MsEnvGuard() 304 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in MsEnvGuard() 305 ms_context->set_param<uint32_t>(MS_CTX_DEVICE_ID, device_id_); in MsEnvGuard() 306 ms_context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in MsEnvGuard() 307 ms_context->set_param<bool>(MS_CTX_IS_MULTI_GRAPH_SINK, true); in MsEnvGuard()
|
/third_party/mindspore/tests/ut/cpp/tbe/ |
D | tbe_json_creator_test.cc | 44 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 89 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 132 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 190 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 244 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F() 315 context->set_param<std::string>(MS_CTX_DEVICE_TARGET, kAscendDevice); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/ |
D | acl_model_multi.cc | 104 context_ptr->set_param<std::string>(MS_CTX_DEVICE_TARGET, kDavinciMultiGraphInferenceDevice); in Build() 105 context_ptr->set_param<bool>(MS_CTX_IS_MULTI_GRAPH_SINK, false); in Build() 106 context_ptr->set_param<bool>(MS_CTX_ENABLE_LOOP_SINK, false); in Build()
|
/third_party/python/Lib/email/ |
D | contentmanager.py | 118 msg.set_param('filename', 126 msg.set_param(key, value) 187 msg.set_param('charset',
|
D | message.py | 350 self.set_param('charset', charset.get_output_charset()) 701 def set_param(self, param, value, header='Content-Type', requote=True, member in Message 804 self.set_param(p, v, header, requote) 1128 self.set_param('boundary', boundary)
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | transform.cc | 586 context_ptr->set_param<bool>(MS_CTX_IS_MULTI_GRAPH_SINK, false); in CreateBackend() 590 context_ptr->set_param<bool>(MS_CTX_ENABLE_TASK_SINK, false); in CreateBackend() 594 context_ptr->set_param<bool>(MS_CTX_ENABLE_MEM_SCHEDULER, true); in CreateBackend() 595 context_ptr->set_param<bool>(MS_CTX_ENABLE_TASK_SINK, false); in CreateBackend() 628 context_ptr->set_param<bool>(MS_CTX_ENABLE_MINDRT, true); in SetMindRTEnable()
|
/third_party/mindspore/tests/ut/cpp/pynative/ |
D | pynative_execute_test.cc | 77 ctx3->set_param<std::string>(MS_CTX_DEVICE_TARGET, "GPU"); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/ |
D | action.cc | 100 context_ptr->set_param<bool>(MS_CTX_ENABLE_MINDRT, false); in ResetMindRTEnable() 712 context_ptr->set_param<bool>(MS_CTX_IS_MULTI_GRAPH_SINK, false); in TaskEmitAction() 713 context_ptr->set_param<bool>(MS_CTX_ENABLE_LOOP_SINK, false); in TaskEmitAction() 723 context_ptr->set_param<bool>(MS_CTX_IS_MULTI_GRAPH_SINK, true); in TaskEmitAction() 727 context_ptr->set_param<bool>(MS_CTX_IS_MULTI_GRAPH_SINK, false); in TaskEmitAction() 728 context_ptr->set_param<bool>(MS_CTX_ENABLE_LOOP_SINK, false); in TaskEmitAction()
|
D | pipeline.cc | 1135 ms_context->set_param<std::string>(MS_CTX_PYTHON_EXE_PATH, py_exe_path_s); in PyExePath() 1144 ms_context->set_param<std::string>(MS_CTX_KERNEL_BUILD_SERVER_DIR, kernel_build_server_dir_s); in KernelBuildServerDir() 1293 ms_context->set_param<uint32_t>(MS_CTX_DEVICE_ID, device_id); in InitHccl() 1294 ms_context->set_param<bool>(MS_CTX_ENABLE_TASK_SINK, false); in InitHccl() 1298 ms_context->set_param<bool>(MS_CTX_ENABLE_HCCL, true); in InitHccl()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fusion/ |
D | transpose_transdata_fusion_test.cc | 86 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in TEST_F()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_eq.c | 303 static inline int set_param(AVExpr **pexpr, const char *args, const char *cmd, in set_param() function 321 …if (!strcmp(cmd, #param_name)) return set_param(&eq->param_name##_pexpr, args, cmd, set_##set_fn_n… in process_command()
|
D | vf_frei0r.c | 89 static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, char *param) in set_param() function 163 ret = set_param(ctx, info, i, param); in set_params()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/ |
D | insert_trans_op_test.cc | 115 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in TEST_F()
|
D | remove_internal_output_test.cc | 115 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in TEST_F()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fission/ |
D | transdata_split_test.cc | 107 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in TEST_F()
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 458 msg.set_param('charset', 'iso-2022-jp') 460 msg.set_param('importance', 'high value') 469 msg.set_param('charset', 'iso-9999-xx', header='X-Jimmy') 483 msg.set_param("report-type", old_val) 513 msg.set_param('charset', 'us-ascii') 4006 msg.set_param('title', 'test') 5070 msg.set_param('title', 'This is even more ***fun*** isn\'t it!', 5074 msg.set_param('title', 'This is even more ***fun*** isn\'t it!', 5079 msg.set_param('title', 'This is even more ***fun*** isn\'t it!', 5106 msg.set_param('title', 'foo') [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_roboswitch.c | 485 .set_param = wpa_driver_roboswitch_set_param,
|
/third_party/mindspore/tests/ut/cpp/pre_activate/pass/ |
D | eliminate_redundant_op_test.cc | 79 ms_context->set_param<int>(MS_CTX_EXECUTION_MODE, kGraphMode); in TEST_F()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_roboswitch.c | 485 .set_param = wpa_driver_roboswitch_set_param,
|