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

Added transformation to remove successive and identical Quant nodes in the graph #151

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nghielme
Copy link

@nghielme nghielme commented Nov 8, 2024

Since I used this transformation for Edge SpAIce project, I thought this might be generally useful. Sometimes it happens that the model exported from Brevitas contains repeated Quant nodes. Using this transformation, only one of the two remains in the graph, potentially simplifying to process the graph by other tools used after QONNX, such as hls4ml. I am also not sure if we should add this in the cleanup() or leave it as optional.

@nghielme nghielme requested review from maltanar and jmitrevs November 8, 2024 08:57
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

Successfully merging this pull request may close these issues.

1 participant