Searched refs:iter_node (Results 1 – 2 of 2) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | parse.cc | 1239 py::object iter_node = python_adapter::GetPyObjAttr(node, "iter"); in GenerateIteratorInFor() local 1240 AnfNodePtr iter_anf_node = ParseExprNode(block, iter_node); in GenerateIteratorInFor() 1286 AnfNodePtr iter_node = ParseExprNode(block, iter_obj); in ParseFor() local 1287 CNodePtr len_iter = block->func_graph()->NewCNodeInOrder({op_len, iter_node}); in ParseFor() 1419 AnfNodePtr iter_node = ParseExprNode(block, iter_obj); in ParseForLoop() local 1420 MS_EXCEPTION_IF_NULL(iter_node); in ParseForLoop() 1422 CNodePtr scalar_len = block->func_graph()->NewCNodeInOrder({op_len, iter_node}); in ParseForLoop() 1443 CNodePtr target_var = body_func_graph->NewCNodeInOrder({op_getitem, iter_node, loop_var}); in ParseForLoop() 1544 py::object iter_node = python_adapter::GetPyObjAttr(generator_node, "iter"); in ParseListCompIter() local 1545 AnfNodePtr iter_anf_node = ParseExprNode(block, iter_node); in ParseListCompIter()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | ascend_auto_monad.cc | 1721 for (auto &iter_node : all_nodes) { in EraseParameter() local 1722 for (size_t i = 0; i < iter_node->size(); ++i) { in EraseParameter() 1723 if (iter_node->input(i) == target) { in EraseParameter() 1724 MS_LOG(INFO) << "Replace " << iter_node->DebugString() << " input " << i << " by " in EraseParameter() 1726 iter_node->set_input(i, source); in EraseParameter()
|