Binary convolution

Hi there,

I would like to train a binary convolution, is there any good reference implementation out there?

Thank you