Optical processor for a binarized neural network.