!39266 add log for broadcast info

Merge pull request !39266 from cjh9368/pre-test
This commit is contained in:
i-robot 2022-08-02 01:34:43 +00:00 committed by Gitee
commit a2f8f03a48
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ std::vector<int64_t> CalBroadCastShape(std::vector<int64_t> x_shape, std::vector
(void)broadcast_shape.push_back(abstract::Shape::SHP_ANY);
} else {
MS_EXCEPTION(ValueError) << "For '" << op_name << "', the two input '" << op_x_name << "' and '" << op_y_name
<< "' can not broadcast";
<< " with shape: " << x_shape << " and " << y_shape << " can not broadcast";
}
}
return broadcast_shape;