Commit d92561be authored by Paul's avatar Paul
Browse files

Add const ref

parent 3736ae50
...@@ -181,7 +181,7 @@ struct tf_parser ...@@ -181,7 +181,7 @@ struct tf_parser
{ {
ops.emplace(name, ops.emplace(name,
op_func{[=](const attribute_map& attributes, op_func{[=](const attribute_map& attributes,
std::vector<instruction_ref> args) -> instruction_ref { const std::vector<instruction_ref>& args) -> instruction_ref {
return to_nhwc(f(attributes, to_nchw(args))); return to_nhwc(f(attributes, to_nchw(args)));
}}); }});
} }
......
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