Commit 5e8db473 authored by Khalique's avatar Khalique
Browse files

formatting

parent 60f75082
...@@ -191,16 +191,15 @@ struct onnx_parser ...@@ -191,16 +191,15 @@ struct onnx_parser
} }
template <class T> template <class T>
void void add_variadic_op(std::string name, T x)
add_variadic_op(std::string name, T x)
{ {
ops.emplace(name, [this, x](attribute_map, std::vector<instruction_ref> args) { ops.emplace(name, [this, x](attribute_map, std::vector<instruction_ref> args) {
return std::accumulate(std::next(args.begin()), return std::accumulate(std::next(args.begin()),
args.end(), args.end(),
args.front(), args.front(),
[this, x](instruction_ref a, instruction_ref b) { [this, x](instruction_ref a, instruction_ref b) {
return add_broadcastable_binary_op(a, b, x); return add_broadcastable_binary_op(a, b, x);
}); });
}); });
} }
......
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