/third_party/mindspore/mindspore/lite/src/cxx_api/ |
D | converters.cc | 25 … const std::shared_ptr<Delegate> &delegate, lite::InnerContext *inner_context) { in SetContextAttr() argument 26 inner_context->thread_num_ = thread_num; in SetContextAttr() 27 inner_context->enable_parallel_ = enable_parallel; in SetContextAttr() 28 inner_context->affinity_core_list_ = affinity_core_list; in SetContextAttr() 29 inner_context->delegate = delegate; in SetContextAttr() 34 lite::InnerContext *inner_context) { in AddCpuDevice() argument 35 inner_context->allocator = allocator; in AddCpuDevice() 42 …inner_context->device_list_.push_back({lite::DT_CPU, device_info, provider, provider_device, alloc… in AddCpuDevice() 48 lite::InnerContext *inner_context) { in AddGpuDevice() argument 51 …inner_context->device_list_.push_back({lite::DT_GPU, device_info, provider, provider_device, alloc… in AddGpuDevice() [all …]
|
D | converters.h | 37 … const std::shared_ptr<Delegate> &delegate, lite::InnerContext *inner_context); 40 lite::InnerContext *inner_context); 43 lite::InnerContext *inner_context); 44 static Status AddNpuDevice(int frequency, lite::InnerContext *inner_context); 45 static Status AddAscend310Device(lite::InnerContext *inner_context, DeviceInfoContext *device); 46 static Status AddNNRtDevice(lite::InnerContext *inner_context);
|
/third_party/gettext/gettext-tools/src/ |
D | x-awk.c | 706 flag_context_ty inner_context = in extract_parenthesized() local 723 outer_context = inner_context; in extract_parenthesized() 724 inner_context = in extract_parenthesized() 758 if (extract_parenthesized (mlp, inner_context, next_context_iter, in extract_parenthesized() 776 inner_context = in extract_parenthesized() 793 inner_context, &pos, in extract_parenthesized() 802 inner_context, in extract_parenthesized() 819 inner_context, &pos, in extract_parenthesized() 838 inner_context = in extract_parenthesized()
|
D | x-ycp.c | 667 flag_context_ty inner_context = in extract_parenthesized() local 686 if (extract_parenthesized (mlp, inner_context, next_context_iter, in extract_parenthesized() 713 inner_context, &pos, in extract_parenthesized() 729 inner_context, &pos, in extract_parenthesized() 754 if (extract_parenthesized (mlp, inner_context, next_context_iter, in extract_parenthesized() 769 inner_context = in extract_parenthesized()
|
D | x-tcl.c | 862 flag_context_ty inner_context; in read_command() local 865 inner_context = null_context; in read_command() 867 inner_context = in read_command() 872 read_word (&inner, looking_for, inner_context); in read_command() 892 false, inner_context, &pos, in read_command() 942 inner_context, in read_command()
|
D | x-sh.c | 1274 flag_context_ty inner_context; in read_command() local 1277 inner_context = null_context; in read_command() 1279 inner_context = in read_command() 1284 read_word (&inner, looking_for, inner_context); in read_command() 1305 false, inner_context, &pos, in read_command() 1396 inner_context, in read_command() 1422 inner_context, in read_command() 1461 inner_context, in read_command()
|
D | x-lua.c | 1049 flag_context_ty inner_context = in extract_balanced() local 1088 inner_context, next_context_iter, in extract_balanced() 1135 inner_context = in extract_balanced() 1155 inner_context, &pos, in extract_balanced() 1170 inner_context, in extract_balanced() 1177 inner_context, in extract_balanced()
|
D | x-vala.c | 1241 flag_context_ty inner_context = in extract_balanced() local 1280 inner_context, next_context_iter, in extract_balanced() 1304 inner_context = in extract_balanced() 1328 inner_context, &pos, in extract_balanced() 1340 token.mixed_string, inner_context, in extract_balanced() 1347 token.mixed_string, inner_context, in extract_balanced()
|
D | x-librep.c | 625 flag_context_ty inner_context; in read_object() local 628 inner_context = null_context; in read_object() 630 inner_context = in read_object() 635 read_object (&inner, inner_context); in read_object() 694 inner_context, in read_object()
|
D | x-elisp.c | 650 flag_context_ty inner_context; in read_object() local 653 inner_context = null_context; in read_object() 655 inner_context = in read_object() 661 inner_context); in read_object() 720 inner_context, in read_object()
|
D | x-scheme.c | 732 flag_context_ty inner_context; in read_object() local 735 inner_context = null_context; in read_object() 737 inner_context = in read_object() 742 read_object (&inner, inner_context); in read_object() 801 inner_context, in read_object()
|
D | x-c.c | 2205 flag_context_ty inner_context = in extract_parenthesized() local 2248 if (extract_parenthesized (mlp, inner_context, next_context_iter, in extract_parenthesized() 2266 inner_context = in extract_parenthesized() 2279 inner_context = in extract_parenthesized() 2280 inherited_context (inner_context, in extract_parenthesized() 2301 inner_context, &token.pos, in extract_parenthesized() 2306 inner_context, in extract_parenthesized()
|
D | x-php.c | 1437 flag_context_ty inner_context = in extract_balanced() local 1475 inner_context, next_context_iter, in extract_balanced() 1498 inner_context = in extract_balanced() 1536 inner_context, &pos, in extract_balanced() 1544 arglist_parser_remember (argparser, arg, ms, inner_context, in extract_balanced()
|
D | x-lisp.c | 1017 flag_context_ty inner_context; in read_object() local 1020 inner_context = null_context; in read_object() 1022 inner_context = in read_object() 1027 read_object (&inner, inner_context); in read_object() 1097 inner_context, in read_object()
|
D | x-csharp.c | 1831 flag_context_ty inner_context = in extract_parenthesized() local 1932 inner_context, next_context_iter, in extract_parenthesized() 1993 inner_context = in extract_parenthesized() 2013 inner_context, &pos, in extract_parenthesized() 2018 inner_context, in extract_parenthesized()
|
D | x-python.c | 1549 flag_context_ty inner_context = in extract_balanced() local 1587 inner_context, next_context_iter, in extract_balanced() 1610 inner_context = in extract_balanced() 1652 inner_context, &pos, in extract_balanced() 1657 inner_context, in extract_balanced()
|
D | x-java.c | 1469 flag_context_ty inner_context = in extract_parenthesized() local 1570 inner_context, next_context_iter, in extract_parenthesized() 1631 inner_context = in extract_parenthesized() 1651 inner_context, &pos, in extract_parenthesized() 1656 inner_context, in extract_parenthesized()
|
D | x-javascript.c | 1618 flag_context_ty inner_context = in extract_balanced() local 1656 inner_context, next_context_iter, in extract_balanced() 1679 inner_context = in extract_balanced() 1744 inner_context, &pos, in extract_balanced() 1749 inner_context, in extract_balanced()
|
D | x-perl.c | 3051 flag_context_ty inner_context = in extract_balanced() local 3134 inner_context, next_context_iter, in extract_balanced() 3218 inner_context, next_context_iter, in extract_balanced() 3231 inner_context, next_context_iter, in extract_balanced() 3280 inner_context = in extract_balanced() 3306 remember_a_message (mlp, NULL, string, true, false, inner_context, in extract_balanced() 3335 arglist_parser_remember (argparser, arg, ms, inner_context, in extract_balanced() 3466 inner_context = in extract_balanced()
|
/third_party/mindspore/mindspore/lite/test/st/ |
D | multiple_device_test.cc | 386 …auto inner_context = std::shared_ptr<mindspore::lite::InnerContext>(mindspore::ContextUtils::Conve… in TEST_F() local 387 ASSERT_EQ(inner_context->device_list_.size(), 3); in TEST_F() 388 ASSERT_EQ(inner_context->device_list_.at(0).device_type_, mindspore::lite::DT_NPU); in TEST_F() 389 ASSERT_EQ(inner_context->device_list_.at(1).device_type_, mindspore::lite::DT_CPU); in TEST_F() 390 ASSERT_EQ(inner_context->device_list_.at(2).device_type_, mindspore::lite::DT_GPU); in TEST_F() 398 …auto inner_context = std::shared_ptr<mindspore::lite::InnerContext>(mindspore::ContextUtils::Conve… in TEST_F() local 399 ASSERT_EQ(inner_context->device_list_.size(), 2); in TEST_F() 400 ASSERT_EQ(inner_context->device_list_.at(0).device_type_, mindspore::lite::DT_CPU); in TEST_F() 401 ASSERT_EQ(inner_context->device_list_.at(1).device_type_, mindspore::lite::DT_NPU); in TEST_F() 409 …auto inner_context = std::shared_ptr<mindspore::lite::InnerContext>(mindspore::ContextUtils::Conve… in TEST_F() local [all …]
|
/third_party/mindspore/mindspore/lite/src/cxx_api/model/ |
D | model_impl.cc | 105 auto *inner_context = ContextUtils::Convert(context_.get()); in Build() local 106 if (inner_context == nullptr) { in Build() 113 auto session = create_callback(graph_->graph_data_, cfg_, inner_context); in Build() 123 delete inner_context; in Build() 128 auto session = std::shared_ptr<lite::LiteSession>(CreateLiteSession(inner_context)); in Build()
|
/third_party/mindspore/mindspore/lite/src/train/ |
D | transfer_session.cc | 261 …mindspore::lite::InnerContext *inner_context = new (std::nothrow) mindspore::lite::InnerContext(co… in CreateTransferSessionInt() local 262 auto ret = session->Init(inner_context, cfg); in CreateTransferSessionInt()
|
D | train_session.cc | 1102 auto *inner_context = new (std::nothrow) mindspore::lite::InnerContext(context); in CreateTrainSession() local 1103 auto ret = session->Init(inner_context, cfg); in CreateTrainSession()
|
/third_party/mindspore/mindspore/lite/src/ |
D | lite_session.cc | 1049 …mindspore::lite::InnerContext *inner_context = new (std::nothrow) mindspore::lite::InnerContext(co… in CreateSession() local 1050 if (inner_context == nullptr) { in CreateSession() 1056 auto ret = session->Init(inner_context); in CreateSession()
|
/third_party/mindspore/mindspore/lite/tools/converter/ |
D | CMakeLists.txt | 164 ${SRC_DIR}/inner_context.cc
|