forked from mindspore-Ecosystem/mindspore
fix maxpool log
This commit is contained in:
parent
a27c7b2436
commit
0f854d89d9
|
@ -166,7 +166,8 @@ Status MaxPoolInfo::InferTensorMap() {
|
|||
Status MaxPoolInfo::SetCostUnderStrategy(const StrategyPtr &strategy) { return SetCostUnderStrategyBase(strategy); }
|
||||
|
||||
std::vector<StrategyPtr> MaxPoolInfo::GenerateOpStrategies(int64_t stage_id) {
|
||||
Shape input0_split(inputs_shape_[0].size(), 1);
|
||||
Shape input0_split(inputs_shape_[0].size(), 0);
|
||||
input0_split[0] = 1;
|
||||
Shapes splittable_inputs = {input0_split};
|
||||
|
||||
std::vector<StrategyPtr> sp_vector;
|
||||
|
|
Loading…
Reference in New Issue