clean code

This commit is contained in:
lingyunli63 2021-04-30 16:08:07 +08:00
parent fd951d0a60
commit 8d54da2a79
1 changed files with 2 additions and 1 deletions

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;
}