YiZeng623 / Advanced-Gradient-Obfuscating

Take further steps in the arms race of adversarial examples with only preprocessing.
https://arxiv.org/abs/2005.13712
MIT License
35 stars 1 forks source link

DCT-based Quantization #4

Open xarryon opened 1 year ago

xarryon commented 1 year ago

Thx for this great work! I would like to ask some DCT-based Quantization questions. The computaion of difmat involves all 64 blocks or just one block ? I mean if it involves all 64 blocks, it may outside the most inside for loop cuz the loop only computes one block. However, if it involve only one block, what it the meaning of xq and yq?