/third_party/mindspore/tests/ut/python/dataset/ |
D | test_graphdata.py | 65 input_list = [1, [1, 1]] 66 g.get_node_feature(input_list, [1]) 69 input_list = [[1, 1], 1] 70 g.get_node_feature(input_list, [1]) 73 input_list = [[1, 1], [1, 1, 1]] 74 g.get_node_feature(input_list, [1]) 77 input_list = [[1, 1, 1], [1, 1]] 78 g.get_node_feature(input_list, [1]) 81 input_list = [[1, 1], [1, [1, 1]]] 82 g.get_node_feature(input_list, [1]) [all …]
|
/third_party/gn/src/gn/ |
D | value_extractors.cc | 28 const std::vector<Value>& input_list = value.list_value(); in ListValueExtractor() local 29 dest->resize(input_list.size()); in ListValueExtractor() 30 for (size_t i = 0; i < input_list.size(); i++) { in ListValueExtractor() 31 if (!converter(input_list[i], &(*dest)[i], err)) in ListValueExtractor() 46 const std::vector<Value>& input_list = value.list_value(); in ListValueUniqueExtractor() local 48 for (const auto& item : input_list) { in ListValueUniqueExtractor() 57 Err(input_list[previous_index], "This was the previous definition.")); in ListValueUniqueExtractor() 217 const std::vector<Value>& input_list = value.list_value(); in ExtractListOfStringValues() local 218 dest->reserve(input_list.size()); in ExtractListOfStringValues() 219 for (const auto& item : input_list) { in ExtractListOfStringValues()
|
D | substitution_list.cc | 22 const std::vector<Value>& input_list = value.list_value(); in Parse() local 23 list_.resize(input_list.size()); in Parse() 24 for (size_t i = 0; i < input_list.size(); i++) { in Parse() 25 if (!list_[i].Parse(input_list[i], err)) in Parse()
|
D | target_generator.cc | 228 const std::vector<Value>& input_list = value->list_value(); in FillData() local 230 output_list.reserve(input_list.size()); in FillData() 236 for (size_t i = 0; i < input_list.size(); i++) { in FillData() 237 const Value& input = input_list[i]; in FillData()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | kernel_select_graph_kernel.cc | 245 void UpdateInputsKernelInfo(const CNodePtr &kernel_node, const std::vector<AnfNodePtr> &input_list, in UpdateInputsKernelInfo() argument 301 AnfAlgo::SetSelectKernelBuildInfo(builder.Build(), input_list[i].get()); in UpdateInputsKernelInfo() 343 void CheckFormatsAndDtypes(const CNodePtr &kernel_node, const std::vector<AnfNodePtr> &input_list, in CheckFormatsAndDtypes() argument 361 auto &input = input_list[i]; in CheckFormatsAndDtypes() 396 … const std::vector<AnfNodePtr> &input_list, const std::vector<bool> &need_update, in UpdateFormatsAndDtypes() argument 421 AnfAlgo::SetSelectKernelBuildInfo(builder.Build(), input_list[i].get()); in UpdateFormatsAndDtypes() 487 std::vector<AnfNodePtr> input_list; in SelectGraphKernelInfo() local 489 kernel::GetValidKernelNodes(func_graph, &node_list, &input_list, &output_list); in SelectGraphKernelInfo() 490 if (input_list.size() != kernel_node->inputs().size() - 1) { in SelectGraphKernelInfo() 492 … << kernel_node->DebugString() << "], [%" << input_list.size() << "] != [" in SelectGraphKernelInfo() [all …]
|
/third_party/mindspore/tests/st/fl/albert/src/ |
D | dataset.py | 85 input_list = [] 88 input_list.append([key[1], key[0]]) 89 datasets = create_ms_dataset(input_list, label_list, max_seq_length, tokenizer, batch_size, 96 del data, data_list, input_list 111 input_list = [] 114 input_list.append([key[1], key[0]]) 115 datasets = create_ms_dataset(input_list, label_list, max_seq_length, tokenizer, batch_size,
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_json_generator.cc | 191 std::vector<nlohmann::json> input_list; in CreateInputDescJson() local 216 input_list.emplace_back(input_desc_json); in CreateInputDescJson() 219 inputs_json->emplace_back(input_list); in CreateInputDescJson() 589 const std::vector<AnfNodePtr> &input_list, in CollectFusedJson() argument 592 … << "Invalid input size, anf_nodes [" << anf_nodes.size() << "], input_list [" << input_list.size() in CollectFusedJson() 597 << "], output_list: [" << input_list.size() << "]."; in CollectFusedJson() 610 auto inputs_json = CreateInputsJson(anf_nodes, input_list, node_json_map); in CollectFusedJson() 613 CreateOutputsJson(anf_nodes, input_list, output_list, inputs_json, node_json_map); in CollectFusedJson() 616 GenParallelJson(anf_nodes, input_list, output_list, node_json_map, kernel_json); in CollectFusedJson() 709 const std::vector<AnfNodePtr> &input_list, in CreateInputsJson() argument [all …]
|
D | akg_kernel_json_generator.h | 96 …llectFusedJson(const std::vector<AnfNodePtr> &anf_nodes, const std::vector<AnfNodePtr> &input_list, 99 …llectFusedJson(const std::vector<AnfNodePtr> &anf_nodes, const std::vector<AnfNodePtr> &input_list, 127 …eateInputsJson(const std::vector<AnfNodePtr> &anf_nodes, const std::vector<AnfNodePtr> &input_list, 129 …ateOutputsJson(const std::vector<AnfNodePtr> &anf_nodes, const std::vector<AnfNodePtr> &input_list, 149 …enParallelJson(const std::vector<AnfNodePtr> &anf_nodes, const std::vector<AnfNodePtr> &input_list,
|
D | akg_kernel_build.cc | 543 std::vector<AnfNodePtr> node_list, input_list, output_list; in AkgKernelParallelBuild() local 544 GetValidKernelNodes(func_graph, &node_list, &input_list, &output_list); in AkgKernelParallelBuild() 545 if (!akg_kernel_json_generator.CollectFusedJson(node_list, input_list, output_list)) { in AkgKernelParallelBuild()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | kernel_info_setter.cc | 289 std::vector<AnfNodePtr> node_list, input_list, output_list; in SetGraphKernelInfo() local 290 kernel::GetValidKernelNodes(func_graph, &node_list, &input_list, &output_list); in SetGraphKernelInfo() 295 for (size_t i = 0; i < input_list.size(); ++i) { in SetGraphKernelInfo() 298 std::vector<TypeId> outputs_device_type = {AnfAlgo::GetOutputInferDataType(input_list[i], 0)}; in SetGraphKernelInfo() 300 graph_input_type.push_back(AnfAlgo::GetOutputInferDataType(input_list[i], 0)); in SetGraphKernelInfo() 303 AnfAlgo::SetSelectKernelBuildInfo(builder.Build(), input_list[i].get()); in SetGraphKernelInfo() 321 auto output_index = kernel::GetOutputIndex(node_list, input_list, output_list); in SetGraphKernelInfo()
|
D | gpu_stream_assign.cc | 206 std::vector<AnfNodePtr> input_list = {apply}; in CreateStreamSwitchNode() local 207 CNodePtr node = kernel_graph->NewCNode(input_list); in CreateStreamSwitchNode()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/ |
D | tbe_kernel_build.cc | 274 std::vector<nlohmann::json> *const input_list) { in GenNoneInputDescJson() argument 276 MS_EXCEPTION_IF_NULL(input_list); in GenNoneInputDescJson() 281 input_list->emplace_back(input_desc_json); in GenNoneInputDescJson() 287 std::vector<nlohmann::json> *const input_list) { in GenValidInputDescJson() argument 290 MS_EXCEPTION_IF_NULL(input_list); in GenValidInputDescJson() 313 input_list->emplace_back(input_desc_json); in GenValidInputDescJson() 319 std::vector<nlohmann::json> *input_list) { in GenInputDescJson() argument 322 MS_EXCEPTION_IF_NULL(input_list); in GenInputDescJson() 325 GenNoneInputDescJson(input_ptr, input_i, input_list); in GenInputDescJson() 330 GenNoneInputDescJson(input_ptr, input_i, input_list); in GenInputDescJson() [all …]
|
D | tbe_kernel_build.h | 116 std::vector<nlohmann::json> *input_list); 121 std::vector<nlohmann::json> *input_list); 127 std::vector<nlohmann::json> *input_list);
|
D | tbe_adapter.cc | 256 … size_t real_input_index, std::vector<nlohmann::json> *input_list, in GenTopKV2IndicesTensorInfo() argument 259 MS_EXCEPTION_IF_NULL(input_list); in GenTopKV2IndicesTensorInfo() 282 input_list->emplace_back(input_desc_json); in GenTopKV2IndicesTensorInfo()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/ |
D | common_utils.cc | 584 … const std::vector<AnfNodePtr> &input_list) { in GetInputIndex() argument 586 for (size_t i = 0; i < input_list.size(); ++i) { in GetInputIndex() 587 auto const &input = input_list[i]; in GetInputIndex() 648 const std::vector<AnfNodePtr> &input_list, in GetOutputIndex() argument 661 auto ret = std::find(std::begin(input_list), std::end(input_list), pree_node.first); in GetOutputIndex() 662 if (ret != std::end(input_list)) { in GetOutputIndex() 691 … std::vector<AnfNodePtr> *input_list, std::vector<AnfNodePtr> *output_list) { in GetValidKernelNodes() argument 694 MS_EXCEPTION_IF_NULL(input_list); in GetValidKernelNodes() 699 input_list->insert(input_list->begin(), parameters.begin(), parameters.end()); in GetValidKernelNodes()
|
D | common_utils.h | 92 … const std::vector<AnfNodePtr> &input_list); 94 const std::vector<AnfNodePtr> &input_list, 98 std::vector<AnfNodePtr> *input_list, std::vector<AnfNodePtr> *output_list);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/ |
D | pybind_conversion.cc | 65 std::vector<pid_t> toIntVector(const py::list input_list) { in toIntVector() argument 67 if (!input_list.empty()) { in toIntVector() 68 std::transform(input_list.begin(), input_list.end(), std::back_inserter(vector), in toIntVector()
|
D | pybind_conversion.h | 60 std::vector<pid_t> toIntVector(const py::list input_list);
|
/third_party/mindspore/tests/st/ops/cpu/ |
D | test_concat_op.py | 117 input_list = [x, y] 118 return self.concat(input_list) 127 input_list = (x, y) 128 return self.concat(input_list)
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfmp3enc.cpp | 347 GList *input_list = NULL; in gst_mf_mp3_enc_get_input_type() local 354 if (!gst_mf_transform_get_input_available_types (transform, &input_list)) { in gst_mf_mp3_enc_get_input_type() 360 for (iter = input_list; iter; iter = g_list_next (iter)) { in gst_mf_mp3_enc_get_input_type() 400 g_list_free_full (input_list, (GDestroyNotify) gst_mf_media_type_release); in gst_mf_mp3_enc_get_input_type()
|
D | gstmfaacenc.cpp | 363 GList *input_list = NULL; in gst_mf_aac_enc_get_input_type() local 370 if (!gst_mf_transform_get_input_available_types (transform, &input_list)) { in gst_mf_aac_enc_get_input_type() 376 for (iter = input_list; iter; iter = g_list_next (iter)) { in gst_mf_aac_enc_get_input_type() 416 g_list_free_full (input_list, (GDestroyNotify) gst_mf_media_type_release); in gst_mf_aac_enc_get_input_type()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_kernel_runtime.h | 69 void AddRuntimeAddress(DeviceAddress *address, std::vector<kernel::AddressPtr> *input_list);
|
D | cpu_kernel_runtime.cc | 391 …elRuntime::AddRuntimeAddress(DeviceAddress *address, std::vector<kernel::AddressPtr> *input_list) { in AddRuntimeAddress() argument 393 MS_EXCEPTION_IF_NULL(input_list); in AddRuntimeAddress() 402 input_list->push_back(input); in AddRuntimeAddress()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/ |
D | pipeline_ge.cc | 382 auto input_list = output_c->inputs(); in StructureOutput() local 383 size_t size = input_list.size(); in StructureOutput() 386 tp[i - 1] = StructureOutput(input_list[i], data, count); in StructureOutput()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/ |
D | graph_data_impl.cc | 265 std::vector<NodeIdType> input_list = {node_list[node_idx]}; in GetSampledNeighbors() local 268 neighbors.reserve(input_list.size() * neighbor_nums[i]); in GetSampledNeighbors() 269 for (const auto &node_id : input_list) { in GetSampledNeighbors() 283 input_list = std::move(neighbors); in GetSampledNeighbors()
|