Searched refs:used_forward_nodes (Results 1 – 4 of 4) sorted by relevance
151 std::vector<AnfNodePtr> used_forward_nodes; in RunOutputReplace() local155 used_forward_nodes.push_back(cnode_morph); in RunOutputReplace()159 return used_forward_nodes; in RunOutputReplace()222 auto used_forward_nodes = RunOutputReplace(forward_node, bprop_graph, fprop_graph, cnode_morph); in ReplaceEquivdout() local228 ms_func_graph->set_used_forward_nodes(used_forward_nodes); in ReplaceEquivdout()
745 void FuncGraph::set_used_forward_nodes(const std::vector<AnfNodePtr> &used_forward_nodes) { in set_used_forward_nodes() argument746 …(void)std::for_each(used_forward_nodes.begin(), used_forward_nodes.end(), [this](const AnfNodePtr … in set_used_forward_nodes()
410 const std::unordered_set<AnfNodePtr> &used_forward_nodes() const { return used_forward_nodes_; } in used_forward_nodes() function411 void set_used_forward_nodes(const std::vector<AnfNodePtr> &used_forward_nodes);
146 const auto &used_forward_nodes = func_graph->used_forward_nodes(); in ModifyOutputNode() local157 std::for_each(used_forward_nodes.begin(), used_forward_nodes.end(), in ModifyOutputNode()