diff --git a/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.cc b/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.cc index 668b817b8d..0c50b847a4 100644 --- a/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.cc +++ b/mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.cc @@ -423,7 +423,6 @@ void ReshapeInfo::SetCostForReshape(const mindspore::parallel::StrategyPtr &stra std::make_shared(strategy, inputs_tensor_info_, outputs_tensor_info_); swc->cost_list.push_back(result); strategy_cost_.emplace_back(swc); - ResetQueueMember(); } Status ReshapeInfo::GenerateStrategies(int32_t stage_id) { @@ -489,6 +488,7 @@ Status ReshapeInfo::GenetateStrategyCosts(const std::vector