Open louismeeckers opened 7 months ago
Describe the bug For some reason, the model I am exporting from PyTorch to ONNX has the following structure:
I believe onnx-simplifier could identify those cases and remove consecutive squeeze unsqueeze layers.
Describe the bug For some reason, the model I am exporting from PyTorch to ONNX has the following structure:![image](https://github.com/daquexian/onnx-simplifier/assets/26259678/6fb34958-1a75-43ed-a1cd-2f908116fdd2)
I believe onnx-simplifier could identify those cases and remove consecutive squeeze unsqueeze layers.