Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prohibit constant reuse #310

Closed
huihui1 opened this issue Oct 19, 2023 · 1 comment
Closed

How to prohibit constant reuse #310

huihui1 opened this issue Oct 19, 2023 · 1 comment

Comments

@huihui1
Copy link

huihui1 commented Oct 19, 2023

I have a model in which there are many constants with the same data, but I don’t want constants to be reused.

@daquexian
Copy link
Owner

Please use onnxsim input.onnx output.onnx --skip-optimization eliminate_duplicate_initializer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants