Home
last modified time | relevance | path

Searched refs:strategy_value (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dstrided_slice_info.cc112 Dimensions strategy_value = stra[0]; in CheckStrategy() local
113 …bool has_split = std::any_of(strategy_value.begin(), strategy_value.end(), [](int64_t v) { return … in CheckStrategy()
119 if (strategy_value.size() < strides_.size()) { in CheckStrategy()
124 if ((strides_[i] != 1) && (strategy_value[i] > 1)) { in CheckStrategy()
138 if (no_fully_fetch && (strategy_value[i] != 1)) { in CheckStrategy()
Dbatch_parallel_info.cc42 int64_t strategy_value = sub_strategy.at(j); in CheckStrategy() local
43 if (strategy_value > 1) { in CheckStrategy()
44 if (flag || strategy_value != stage_device_size_) { in CheckStrategy()
Dslice_info.cc82 Dimensions strategy_value = stra[0]; in CheckStrategy() local
86 if (no_fully_fetch && (strategy_value[i] != 1)) { in CheckStrategy()
Doperator_info.cc96 int64_t strategy_value = sub_strategy.at(j); in CheckStrategyValue() local
97 if (strategy_value < MIN_SLICE_NUM) { in CheckStrategyValue()
100 … << ", the value of strategy must be larger than 0, but get " << strategy_value; in CheckStrategyValue()
103 … << ", the value of strategy must be larger than 0, but get " << strategy_value; in CheckStrategyValue()
108 if ((LongToUlong(strategy_value) & LongToUlong(strategy_value - 1)) != 0) { in CheckStrategyValue()
111 … << ", the value of strategy must be the power of 2, but get " << strategy_value; in CheckStrategyValue()
114 … << ", the value of strategy must be the power of 2, but get " << strategy_value; in CheckStrategyValue()
120 if ((shape_value % strategy_value) != 0) { in CheckStrategyValue()
123 << " cannot be divisible by strategy value " << strategy_value; in CheckStrategyValue()
126 << " cannot be divisible by strategy value " << strategy_value; in CheckStrategyValue()