jiecaoyu / XNOR-Net-PyTorch

PyTorch Implementation of XNOR-Net
472 stars 119 forks source link

I think the formula which is noted is correct #117

Open lixcli opened 3 years ago

lixcli commented 3 years ago

Hi, I think the original formula which is noted is correct. Here is my demonstrate.

Firstly, the primary formula is

In your formula, because each Wi in |Wi| is independent ,the formula could be transformed into

there is a absolute value in it because

and we can get another formula by a simple demonstrate.

So, the primary formula is correct