Home
last modified time | relevance | path

Searched refs:succ_edges (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/
Ddp_algo_costmodel.cc106 auto succ_edges = graph->EliminationStar(star_center); in GetStrategy() local
108 for (size_t i = 0; i < succ_edges.size(); ++i) { in GetStrategy()
109 MS_EXCEPTION_IF_NULL(succ_edges[i]); in GetStrategy()
110 succ_nodes.push_back(succ_edges[i]->next_operator()); in GetStrategy()
112 auto elimi_star = std::make_shared<StarElimination>(star_center, succ_edges, succ_nodes); in GetStrategy()
208 auto succ_edges = elimination_star->succ_edges_; in RecoverStrategy() local
214 for (size_t i = 0; i < succ_edges.size(); ++i) { in RecoverStrategy()
215 succ_edges[i]->set_selected_cost(decision_star->succ_edges_cost_list_[i]); in RecoverStrategy()
Dgraph_costmodel.cc128 for (auto &edge : curr_op->succ_edges()) { in BFS()
214 for (auto &edge : current_op->succ_edges()) { in DFS()
1464 void CostGraph::CreateStarEliminationCostList(std::vector<std::shared_ptr<Edge>> &succ_edges, in CreateStarEliminationCostList() argument
1470 std::vector<StrategyPtr> succ_nodes_stras(succ_edges.size(), nullptr); in CreateStarEliminationCostList()
1471 …CostPtrList succ_edges_costs(succ_edges.size(), nullptr), succ_nodes_costs(succ_edges.size(), null… in CreateStarEliminationCostList()
1474 … &succ_nodes_costs, &first_succ_node_clist_new, &succ_edges, &recursive, in CreateStarEliminationCostList()
1476 if (k == succ_edges.size()) { in CreateStarEliminationCostList()
1486 auto succ_edge = succ_edges[k]; in CreateStarEliminationCostList()
1514 auto succ_edges = merged_op->GetAliveSuccEdges(); in EliminationStar() local
1516 for (auto &succ_edge : succ_edges) { in EliminationStar()
[all …]
/third_party/mindspore/tests/ut/cpp/parallel/auto_parallel/
Dgraph_costmodel_test.cc379 ASSERT_EQ(new_edge.get(), matmul1->succ_edges()[0].get()); in TEST_F()
406 ASSERT_EQ(new_edge.get(), matmul1->succ_edges()[0].get()); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Doperator_info.h131 std::vector<std::shared_ptr<Edge>> succ_edges() const { return succ_edges_; } in succ_edges() function
Doperator_info.cc1458 for (auto &next_edge : succ_edges()) { in ExactStrategiesAndRelatedEdges()