Skip to content

About activation binarization #553

Closed Answered by AmirAliEbrahimi
AmirAliEbrahimi asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to find a solution on my own. Instead of using BinaryQuant, my QuantIdentity utilized ClampedBinaryQuant. To achieve the desired outcome, I added a tensor clamp before applying the sign function. As a result, I am now obtaining the same results as intended.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AmirAliEbrahimi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant