"vscode:/vscode.git/clone" did not exist on "d3e190c7c88ce65e509eee5b842b496f54fc09a7"
Commit c164d8e6 authored by Paul's avatar Paul
Browse files

Check conv op

parent 2012bbf7
......@@ -33,7 +33,7 @@ std::unordered_set<instruction_ref> preserve_output_layout(module& m)
{
std::unordered_set<instruction_ref> result;
std::vector<instruction_ref> outputs =
find_lasts(m, [](auto ins) { return ins->get_shape().lens().size() == 4; });
find_lasts(m, [](auto ins) { return ins->name() == "convolution" and ins->get_shape().lens().size() == 4; });
for(auto output : outputs)
{
auto permutation = find_permutation(output->get_shape());
......
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