Commit 989b42cc authored by Paul's avatar Paul
Browse files

Fix insertion

parent 84de9e88
...@@ -103,7 +103,7 @@ struct find_reshaper ...@@ -103,7 +103,7 @@ struct find_reshaper
auto dims = ins->get_shape().lens(); auto dims = ins->get_shape().lens();
if(not input->get_shape().standard()) if(not input->get_shape().standard())
input = m.insert_instruction(input, make_op("contiguous"), input); input = m.insert_instruction(ins, make_op("contiguous"), input);
m.replace_instruction(ins, make_op("reshape", {{"dims", dims}}), input); m.replace_instruction(ins, make_op("reshape", {{"dims", dims}}), input);
} }
}; };
......
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