APoT_Quantization icon indicating copy to clipboard operation
APoT_Quantization copied to clipboard

difference between paper and code in quan_layer

Open EwainPeng opened this issue 3 years ago • 2 comments

Hi~ I have a liitle puzzled about a difference between paper and code in quan_layer.py. In paper, when B = 4 P0∈{0,2^0,2^-2,2^-4} (show in example in 2.2) But in code quan_layer.py line 23: base_b.append(2 ** (-2 * i - 2)), when i range(3) we have P0∈{0,2^-2,2^-4,2^-6} I am a little puzzled about it, thanks a lot!

EwainPeng avatar Jul 30 '22 15:07 EwainPeng

I have the same question as EwainPeng. Why the sum of n PoT terms of each level is different from the paper? Looking forward to your reply!

Minato-Zackie avatar Jun 28 '23 12:06 Minato-Zackie

@Minato-Zackie @EwainPeng Hello guys, did you figure this question out? thx

lllkjh avatar May 15 '24 09:05 lllkjh