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

why use 1 bit to store 0 #12

Open
DAVIDNEWGATE opened this issue Oct 25, 2017 · 2 comments
Open

why use 1 bit to store 0 #12

DAVIDNEWGATE opened this issue Oct 25, 2017 · 2 comments

Comments

@DAVIDNEWGATE
Copy link

For example, for 4bit why don't we just use 15 to form quantized region, and another one such as 0000 to represent 0. Will unbalanced region influence INQ result?

@AojunZhou
Copy link
Owner

yes, for 4 bits, you can use 15 no-zero values + 0, unbalanced quantization doesn't influence INQ result, specifically, the INQ is very flexible,you can adjust bit-width according your task, for example , you can throw away 0,then, the 5 bits in INQ paper can be replaced by 4 bits.

@KangolHsu
Copy link

  1. template double weightCluster(int weight,int M);
  2. template double weightCluster_zero(float weight,int M);
    why this two method is all the same?
    the second one shoud contain 0? @Zhouaojun

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

3 participants