APoT_Quantization
APoT_Quantization copied to clipboard
difference between paper and code in quan_layer
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!
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 @EwainPeng Hello guys, did you figure this question out? thx