"vscode:/vscode.git/clone" did not exist on "7d149a6882039459857abb4bab675cd93cb7442e"
Commit 7668ef6b authored by Paul's avatar Paul
Browse files

Format

parent 5c4e15f2
...@@ -112,7 +112,7 @@ struct concat_compiler : compiler<concat_compiler> ...@@ -112,7 +112,7 @@ struct concat_compiler : compiler<concat_compiler>
compiler_replace compile(context& ctx, instruction_ref ins, const operation& op) const compiler_replace compile(context& ctx, instruction_ref ins, const operation& op) const
{ {
auto v = op.to_value(); auto v = op.to_value();
if (op.name() == "fused_concat") if(op.name() == "fused_concat")
{ {
std::unordered_map<std::string, std::string> mod_names_lookup; std::unordered_map<std::string, std::string> mod_names_lookup;
transform(range(ins->module_inputs().size()), transform(range(ins->module_inputs().size()),
...@@ -159,7 +159,7 @@ struct concat_compiler : compiler<concat_compiler> ...@@ -159,7 +159,7 @@ struct concat_compiler : compiler<concat_compiler>
v["kernel"] = prefix_name + "concat_" + v["kernel"] = prefix_name + "concat_" +
generate_name_from_ops(*(ins->module_inputs().back())) + "_kernel"; generate_name_from_ops(*(ins->module_inputs().back())) + "_kernel";
} }
else if (op.name() == "concat") else if(op.name() == "concat")
{ {
auto concat_inputs = ins->inputs().size() - 1; auto concat_inputs = ins->inputs().size() - 1;
if(not ins->module_inputs().empty()) if(not ins->module_inputs().empty())
......
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