Unverified Commit c42bb6c0 by hlu1 Committed by GitHub

[TVM] const auto p -> const auto &p (#4861)

parent 91d2f5af
......@@ -1673,7 +1673,7 @@ bool SqueezeRel(const Array<Type>& types,
CHECK_LT(axis_val, original_shape.size());
original_shape.at(axis_val).second = false;
}
for (const auto p : original_shape) {
for (const auto& p : original_shape) {
if (p.second) {
result_shape.push_back(p.first);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment