XNOR-Net icon indicating copy to clipboard operation
XNOR-Net copied to clipboard

in XNOR or BWN, convolution should avoid any multiplication

Open haqishen opened this issue 8 years ago • 1 comments

But you did use multiplication in your implementation.

haqishen avatar Sep 22 '16 05:09 haqishen

Yes, so it's not fast. It only simulates results.

If you want a fast implementation, you have to control bit level implementation on GPU. theano: pycuda ex. (https://github.com/MatthieuCourbariaux/BinaryNet/blob/master/Run-time/binary_ops.py) or chainer: cupy ex. (https://github.com/rarilurelo/cupy_for_binarynet/blob/master/binarynet.py)

rarilurelo avatar Sep 22 '16 07:09 rarilurelo