Home
last modified time | relevance | path

Searched refs:target_node (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/
Ddp_algo_costmodel.cc61 auto target_node = graph->EliminationMerge(merge_node); in GetStrategy() local
62 auto elimi_merge = std::make_shared<MergeElimination>(merge_node, succ_edge, target_node); in GetStrategy()
72 auto target_node = graph->EliminationContract(contracted_node); in GetStrategy() local
73 …auto elimi_contract = std::make_shared<ContractElimination>(target_node, prev_edge, contracted_nod… in GetStrategy()
172 auto target_node = elimination_cont->target_node_; in RecoverStrategy() local
175 …auto decision_cont = target_node->selected_cost()->decision_ptr_->cast<ContractEliminationDecision… in RecoverStrategy()
179target_node->SetSelectedStrategyAndCost(decision_cont->target_op_strategy_, decision_cont->target_… in RecoverStrategy()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Drecompute.cc414 for (const auto &target_node : target_nodes) { in DuplicateRecomputedNodes() local
415 MS_EXCEPTION_IF_NULL(target_node); in DuplicateRecomputedNodes()
416 …MS_LOG(DEBUG) << "Rebuild a new target_node " << target_node->DebugString() << " with the new reco… in DuplicateRecomputedNodes()
417 auto target_cnode = target_node->cast<CNodePtr>(); in DuplicateRecomputedNodes()
435 new_target_node->CloneCNodeInfo(target_node); in DuplicateRecomputedNodes()
437 new_target_node->set_scope(target_node->scope()); in DuplicateRecomputedNodes()
438 mng->Replace(target_node, new_target_node); in DuplicateRecomputedNodes()
Dpy_pass.cc134 auto target_node = res->get_node(pattern); in ProcessSinglePattern() local
135 if (target_node != nullptr) { in ProcessSinglePattern()
139 return target_node; in ProcessSinglePattern()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse_dynamic.cc150 py::object target_node = parse::python_adapter::GetPyObjAttr(node, parse::NAMED_PRIMITIVE_TARGET); in ParseAugAssignExprNode() local
151 if (py::isinstance<py::none>(target_node)) { in ParseAugAssignExprNode()
155 …py::object value_node = parse::python_adapter::GetPyObjAttr(target_node, parse::NAMED_PRIMITIVE_VA… in ParseAugAssignExprNode()
161 if (py::hasattr(target_node, "attr") && py::hasattr(value_node, "id")) { in ParseAugAssignExprNode()
162 …assign_prim = py::cast<std::string>(value_node.attr("id")) + py::cast<std::string>(target_node.att… in ParseAugAssignExprNode()
Dparse.cc435 py::object target_node = expand_info[2]; in ParseExpr() local
436 WriteAssignVars(block, target_node, call_node); in ParseExpr()
1085 AnfNodePtr target_node = nullptr; in ParseAugAssign() local
1091 target_node = ParseName(block, target_object); in ParseAugAssign()
1093 target_node = ParseSubscript(block, target_object); in ParseAugAssign()
1095 target_node = ParseAttribute(block, target_object); in ParseAugAssign()
1108 if (target_node == nullptr) { in ParseAugAssign()
1111 CNodePtr augassign_app = block->func_graph()->NewCNodeInOrder({op_node, target_node, value_node}); in ParseAugAssign()
1354 py::object target_node = python_adapter::GetPyObjAttr(node, "target"); in ParseForIter() local
1358 WriteAssignVars(body_block, target_node, target_app); in ParseForIter()
[all …]
/third_party/boost/libs/predef/tools/ci/
Dbuild_log.py151 target_node = node
152 name = self.get_child_data(target_node,tag='name',strip=True)
153 path = self.get_child_data(target_node,tag='path',strip=True)
154 jam_target = self.get_child_data(target_node,tag='jam-target',strip=True)
161 dep_node = self.get_child(self.get_child(target_node,tag='dependencies'),tag='dependency')
/third_party/NuttX/fs/nfs/
Dnfs_adapter.c1411 struct nfsnode *target_node = NULL; in vfs_nfs_mkdir() local
1527 target_node = zalloc(sizeof(struct nfsnode)); in vfs_nfs_mkdir()
1528 target_node->n_fhsize = (uint8_t)fhandle.length; in vfs_nfs_mkdir()
1529 memcpy_s(&(target_node->n_fhandle), target_node->n_fhsize, &(fhandle.handle), fhandle.length); in vfs_nfs_mkdir()
1530 target_node->n_pfhsize = parent_nfs_node->n_fhsize; in vfs_nfs_mkdir()
1531 …(void)memcpy_s(&(target_node->n_pfhandle), NFSX_V3FHMAX, &(parent_nfs_node->n_fhandle), parent_nfs… in vfs_nfs_mkdir()
1532 target_node->n_name = zalloc(sizeof (dirname)); in vfs_nfs_mkdir()
1533 memcpy_s(target_node->n_name, sizeof(dirname), dirname, sizeof (dirname)); in vfs_nfs_mkdir()
1534 target_node->n_next = nmp->nm_head; in vfs_nfs_mkdir()
1535 nmp->nm_head = target_node; in vfs_nfs_mkdir()
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dinput.py1806 target_node = dependency_nodes[target]
1810 target_node.dependencies = [root_node]
1811 root_node.dependents.append(target_node)
1818 target_node.dependencies.append(dependency_node)
1819 dependency_node.dependents.append(target_node)
1830 target_node = dependency_nodes[target]
1831 target_node.dependencies.append(root_node)
1832 root_node.dependents.append(target_node)
/third_party/node/tools/gyp/pylib/gyp/
Dinput.py1979 target_node = dependency_nodes[target]
1982 target_node.dependencies = [root_node]
1983 root_node.dependents.append(target_node)
1992 target_node.dependencies.append(dependency_node)
1993 dependency_node.dependents.append(target_node)
2004 target_node = dependency_nodes[target]
2005 target_node.dependencies.append(root_node)
2006 root_node.dependents.append(target_node)
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dascend_kernel_compile.cc309 auto target_node = job_id_to_node_[task_id]; in PrintCompileResult() local
311 << "node trace: " << trace::DumpSourceLines(target_node); in PrintCompileResult()
366 auto target_node = job_id_to_node_[task_info.target_job_id]; in ParseTargetJobStatus() local
386 << "\n node trace: " << trace::DumpSourceLines(target_node); in ParseTargetJobStatus()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc207 AnfNodePtr target_node = source_node; in MixedPrecisionCastHelper() local
213target_node = func_graph->NewCNodeAfter(source_node, {NewValueNode(cast), source_node, target_type… in MixedPrecisionCastHelper()
228 target_node = func_graph->NewCNode(nodes); in MixedPrecisionCastHelper()
243target_node = func_graph->NewCNode({NewValueNode(prim::kPrimMakeDict), func_graph->NewCNode(dict_k… in MixedPrecisionCastHelper()
251target_node = func_graph->NewCNode({NewValueNode(prim::kPrimMakeKeywordArg), NewValueNode(kwarg_ke… in MixedPrecisionCastHelper()
253 return target_node; in MixedPrecisionCastHelper()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_stream_assign.cc1669 auto target_node = cnode_ptr_list[j]; in GetIndependentMaxTarget() local
1670 auto inputs = target_node->inputs(); in GetIndependentMaxTarget()
1681 independent_targets_.emplace(target_node.get()); in GetIndependentMaxTarget()
1690 independent_targets_.emplace(target_node.get()); in GetIndependentMaxTarget()
1967 bool AscendStreamAssign::IsNopNodeTarget(const AnfNodePtr &nop_node, const CNodePtr &target_node, in IsNopNodeTarget() argument
1974 if (IsNopNodeTarget(new_inputs[i], target_node, cur_node, exclude_hcom)) { in IsNopNodeTarget()
1979 if (target_node == new_real_input.first) { in IsNopNodeTarget()
Dascend_stream_assign.h180 …bool IsNopNodeTarget(const AnfNodePtr &nop_node, const CNodePtr &target_node, const CNodePtr &cur_…
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc342 AnfNodePtr target_node = node->input(LongToSize(pos)); in InsertRedistribution() local
343 MS_EXCEPTION_IF_NULL(target_node); in InsertRedistribution()
363 InsertNode(op, node, LongToSize(pos), target_node, func_graph, instance_name); in InsertRedistribution()
365 target_node = node->input(LongToSize(pos)); in InsertRedistribution()
366 MS_EXCEPTION_IF_NULL(target_node); in InsertRedistribution()
367 … (void)InsertMakeTuple(target_node, (redistribution_oplist_ptr->second)[index].second, func_graph); in InsertRedistribution()