Commit e70d4269 authored by Paul's avatar Paul
Browse files

Format

parent 03ae8013
...@@ -37,9 +37,8 @@ bool reduce_dim(std::vector<shape>& shapes, std::size_t n) ...@@ -37,9 +37,8 @@ bool reduce_dim(std::vector<shape>& shapes, std::size_t n)
void reduce_dim1(std::vector<shape>& shapes) void reduce_dim1(std::vector<shape>& shapes)
{ {
if (std::any_of(shapes.begin(), shapes.end(), [&](const auto& s) { if(std::any_of(
return s.lens().back() != 1; shapes.begin(), shapes.end(), [&](const auto& s) { return s.lens().back() != 1; }))
}))
return; return;
for(auto& s : shapes) for(auto& s : shapes)
{ {
......
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