daquexian / onnx-simplifier

Simplify your onnx model
Apache License 2.0
3.67k stars 377 forks source link

[BUG] #330

Open xfs-js opened 2 months ago

xfs-js commented 2 months ago

I used onnx-simplifier==0.4.36, called the simplfiy interface and skipped the 'extract_constant_to_initializer' and 'eliminate_common_subexpression' ‘eliminate_duplicate_initializer’ optimizations, but I still found that constant in the model still became initializer

oringal model: image sim model: image