alexmr09 / Mixed-precision-Neural-Networks-on-RISC-V-Cores

13 stars 2 forks source link

Shift in conv2_8bit and conv_4bit #5

Closed jypark1257 closed 15 hours ago

jypark1257 commented 5 days ago

I understand how the conv2_2bits works,

but for conv2_4bits and conv_8bits, can you explain why there is "<<1" and "<<2" repectively in the function declaration?

Thank you

alexmr09 commented 1 day ago

Hello,

The purpose of these shifts in the function declaration is to align the dimensions of the generated weight matrices after applying the Mixed Precision Quantization scheme for compression.

jypark1257 commented 15 hours ago

thank you