Commit 9b7c44ab authored by Paul's avatar Paul
Browse files

Formatting

parent 552ad02c
...@@ -204,7 +204,8 @@ struct tf_parser ...@@ -204,7 +204,8 @@ struct tf_parser
template <class T> template <class T>
void add_binary_op(std::string name, T x) void add_binary_op(std::string name, T x)
{ {
add_op(name, [this, x](const attribute_map&, std::vector<instruction_ref> args) { add_op(name,
[this, x](const attribute_map&, std::vector<instruction_ref> args) {
if(args.size() != 2) if(args.size() != 2)
MIGRAPHX_THROW("binary operators should have 2 operands"); MIGRAPHX_THROW("binary operators should have 2 operands");
// TODO // TODO
...@@ -216,7 +217,8 @@ struct tf_parser ...@@ -216,7 +217,8 @@ struct tf_parser
// } // }
// } // }
return add_broadcastable_binary_op(args[0], args[1], x); return add_broadcastable_binary_op(args[0], args[1], x);
}, false); },
false);
} }
template <class T> template <class T>
......
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