Browse Source

clean code

pull/15965/head
lingyunli63 4 years ago
parent
commit
8d54da2a79
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mindspore/ccsrc/backend/optimizer/graph_kernel/arithmetic_simplify.cc

+ 2
- 1
mindspore/ccsrc/backend/optimizer/graph_kernel/arithmetic_simplify.cc View File

@@ -550,7 +550,8 @@ ShapeVector GetNodeShape(const AnfNodePtr &node) {

std::vector<std::pair<int64_t, int64_t>> GetUnmodifiedDim(const ShapeVector &a, const ShapeVector &b) {
std::vector<std::pair<int64_t, int64_t>> unmodified;
for (size_t i = 0, j = 0, patial_a = 1, patial_b = 1;;) {
int64_t patial_a = 1, patial_b = 1;
for (size_t i = 0, j = 0;;) {
if (i >= a.size() && j >= b.size()) {
break;
}


Loading…
Cancel
Save