Commit fc9b2a7d authored by Paul's avatar Paul
Browse files

Format

parent d90d2137
...@@ -63,8 +63,10 @@ struct concat_compiler : compiler<concat_compiler> ...@@ -63,8 +63,10 @@ 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( auto total =
inputs.begin(), std::prev(inputs.end()), 0, [](auto x, auto s) { return x + s.elements(); }); std::accumulate(inputs.begin(), std::prev(inputs.end()), 0, [](auto x, auto s) {
return x + s.elements();
});
return total / (inputs.size() - 1); return total / (inputs.size() - 1);
} }
......
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