Currently, Convolution layer are all based on float32 operation, which needs lots of multiplications.
I trained a binary network which weights are all {-1, 1}, it could be calculated use xnor and bitcount, I wonder what document should I look or which file should I modify to change the basic convolution operation fit for 1-bit convolution?
Should I change pytorch code and recompile or write another cpp or cu file to support bit operation? In order to accelerate.