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

请问, 论文中的forward 和 backward过程中量化,但是参数更新不量化,是怎么实现的啊? #4

Open
linklist2 opened this issue Feb 20, 2022 · 1 comment

Comments

@linklist2
Copy link

linklist2 commented Feb 20, 2022

image
您好,在论文中说到,正如XNOR-Net一样,forward 和 backward过程中量化,但是参数更新不量化,这个过程您是怎么实现的呢?

@buaabai
Copy link
Owner

buaabai commented Feb 20, 2022

更新的还是浮点形式的模型参数,只不过推理的时候先量化参数在计算,反传的时候再实现量化函数的反传函数就行。

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