Hi @pranav thank you very much 
I’m experimenting with different ways to implement something like, XNOR net layers,
http://allenai.org/plato/xnornet/ 174
It seems to me now, that there are really a few different plausible ways to do this? So I just wanted to try a few things very quickly, before actually doing lots of experiments using hard coded layers. My aims is to have a graph composed of mostly binary layers, which gives fast low cost inference.
Here’s the Torch modules in case you’re interested?
https://github.com/allenai/XNOR-Net/blob/master/newLayers/BinActiveZ.lua 67
Cheers,
Aj