Home
last modified time | relevance | path

Searched refs:none_index (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dadd_placeholder_for_dynamic_gru.cc51 auto none_index = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(cnode, "placeholder_index"); in Process() local
53 for (size_t in_idx = 0; in_idx < input_num + none_index.size(); in_idx++) { in Process()
54 auto item = find(none_index.begin(), none_index.end(), in_idx); in Process()
55 if (item != none_index.end()) { in Process()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/tasksink/
Dtask_generator.cc175 … auto none_index = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(anf_node_ptr, "placeholder_index"); in LaunchKernel() local
176 auto item = find(none_index.begin(), none_index.end(), i); in LaunchKernel()
177 if (item != none_index.end()) { in LaunchKernel()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_adapter.cc428 auto none_index = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(node, "placeholder_index"); in IsPlaceHolderInput() local
429 return find(none_index.begin(), none_index.end(), input_ptr->index()) != none_index.end(); in IsPlaceHolderInput()
Dtbe_kernel_build.cc327 auto none_index = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(anf_node, "placeholder_index"); in GenInputDescJson() local
328 auto item = find(none_index.begin(), none_index.end(), input_ptr->index()); in GenInputDescJson()
329 if (item != none_index.end()) { in GenInputDescJson()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.cc1143 auto none_index = AnfAlgo::GetNodeAttr<std::vector<int64_t>>(cnode, "placeholder_index"); in GenLaunchArgs() local
1144 auto item = std::find(none_index.begin(), none_index.end(), i); in GenLaunchArgs()
1145 if (item != none_index.end()) { in GenLaunchArgs()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc2395 auto none_index = GetNodeAttr<std::vector<int64_t>>(cnode, "placeholder_index"); in CacheAddrForKernel() local
2396 auto item = std::find(none_index.begin(), none_index.end(), i); in CacheAddrForKernel()
2397 if (item != none_index.end()) { in CacheAddrForKernel()