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

Implementation of QuantGRU #1199

Open
bimsaraperera opened this issue Feb 20, 2025 · 1 comment
Open

Implementation of QuantGRU #1199

bimsaraperera opened this issue Feb 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@bimsaraperera
Copy link

Can I know whether there's a implementation of GRU block in brevitas or any other workaround for that?

@bimsaraperera bimsaraperera added the enhancement New feature or request label Feb 20, 2025
@Giuseppe5
Copy link
Collaborator

Unfortunately, we only have QuantRNN and QuantLSTM implemented, and you can find them here:
https://github.com/Xilinx/brevitas/blob/master/src/brevitas/nn/quant_rnn.py

You could start from the QuantLSTM implementation and put together the QuantGRU one, but you would need to pay attention to the quantizers and their placement.

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

No branches or pull requests

2 participants