mirror of
https://github.com/Tencent/ncnn.git
synced 2026-10-29 04:17:40 +08:00
fix onnx normalize expand ghost shape
This commit is contained in:
@@ -1204,6 +1204,10 @@ static void fuse_normalize(onnx::GraphProto* mutable_graph, std::map<std::string
|
||||
node_reference[node_shape->output(0)] -= 1;
|
||||
}
|
||||
node_reference[node3->output(0)] -= 1;
|
||||
if (node3->input_size() == 2)
|
||||
{
|
||||
node_reference[node3->input(1)] -= 1;
|
||||
}
|
||||
|
||||
blob_names.erase(node->output(0));
|
||||
blob_names.erase(node2->output(0));
|
||||
|
||||
Reference in New Issue
Block a user