forked from mindspore-Ecosystem/mindspore
!26756 [AutoPar] [D-Rec] Adding cost graph edges for Rec search in order to support the initialization for Reshape
Merge pull request !26756 from daniel_hg/Gather_version_update
This commit is contained in:
commit
42d0054bcd
|
@ -1088,6 +1088,7 @@ Status ParallelStrategyRecSearch(const std::vector<AnfNodePtr> &all_nodes, const
|
|||
}
|
||||
}
|
||||
ReshapeCostCompute(all_nodes);
|
||||
ConstructCostGraphEdges(all_nodes);
|
||||
|
||||
auto ops = entire_costgraph->GetOperators();
|
||||
std::vector<std::vector<std::string>> input_tensor_names = entire_costgraph->get_inputs_tensor_name_list();
|
||||
|
|
Loading…
Reference in New Issue