Browse Source

modified: ge/graph/preprocess/graph_preprocess.cc

pull/931/head
zhaoxinxin 5 years ago
parent
commit
f79064274f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/preprocess/graph_preprocess.cc

+ 1
- 1
ge/graph/preprocess/graph_preprocess.cc View File

@@ -959,7 +959,7 @@ Status ParseDynamicInputShapeRange(const std::string &shape_range,
// fix dim
auto range_value = StringToLongNoThrow(range_pair_set.at(0).c_str());
if (range_value < 0) {
range_pair = std::make_pair(0, range_value);
range_pair = std::make_pair(1, range_value);
} else {
range_pair = std::make_pair(range_value, range_value);
}


Loading…
Cancel
Save