Commit 84327e69 authored by Paul's avatar Paul
Browse files

Format

parent 86b49567
...@@ -20,9 +20,8 @@ static std::vector<std::size_t> vector_sizes(const std::vector<shape>& inputs) ...@@ -20,9 +20,8 @@ static std::vector<std::size_t> vector_sizes(const std::vector<shape>& inputs)
vectorize vectorize::elements(std::size_t axis, const std::vector<shape>& inputs) vectorize vectorize::elements(std::size_t axis, const std::vector<shape>& inputs)
{ {
if (std::all_of(inputs.begin(), inputs.end(), [&](const auto& s) { if(std::all_of(
return s.lens()[axis] == 1; inputs.begin(), inputs.end(), [&](const auto& s) { return s.lens()[axis] == 1; }))
}))
return {1, axis}; return {1, axis};
auto sizes = vector_sizes(inputs); auto sizes = vector_sizes(inputs);
std::vector<std::size_t> max_vec_size; std::vector<std::size_t> max_vec_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