Commit 2a8c4f49 authored by Paul's avatar Paul
Browse files

Format

parent 24359d3e
...@@ -77,7 +77,7 @@ std::vector<int64_t> find_permutation(const std::vector<shape>& shapes) ...@@ -77,7 +77,7 @@ std::vector<int64_t> find_permutation(const std::vector<shape>& shapes)
std::vector<shape> normalize_permutation(const std::vector<shape>& shapes) std::vector<shape> normalize_permutation(const std::vector<shape>& shapes)
{ {
auto result = shapes; auto result = shapes;
auto perm = find_permutation(shapes); auto perm = find_permutation(shapes);
std::transform(result.begin(), result.end(), result.begin(), [&](auto s) { std::transform(result.begin(), result.end(), result.begin(), [&](auto s) {
return reorder_shape(s, perm); return reorder_shape(s, perm);
}); });
......
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