Commit a6e0400d authored by Paul's avatar Paul
Browse files

Only parse output nodes from onnx

parent e15b8333
......@@ -1149,9 +1149,9 @@ struct onnx_parser
instructions[name] = prog.add_parameter(name, s);
}
}
for(auto&& p : nodes)
for(auto&& output:graph.output())
{
this->parse_node(p.first);
this->parse_node(output.name());
}
}
......
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