Commit 43887ec3 authored by Paul's avatar Paul
Browse files

Format

parent bd910b39
...@@ -63,9 +63,8 @@ struct concat_compiler : compiler<concat_compiler> ...@@ -63,9 +63,8 @@ struct concat_compiler : compiler<concat_compiler>
static std::size_t get_concat_elements(const std::vector<shape>& inputs) static std::size_t get_concat_elements(const std::vector<shape>& inputs)
{ {
auto total = std::accumulate(inputs.begin(), inputs.end(), 0, [](auto x, auto s) { auto total = std::accumulate(
return x + s.elements(); inputs.begin(), inputs.end(), 0, [](auto x, auto s) { return x + s.elements(); });
});
return total / inputs.size(); return total / inputs.size();
} }
......
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