1. A method comprising: obtaining input data that is a set of training inputs for a convolutional neural network, the convolutional neural network including multiple layers, one of the multiple layers including a convolution layer, the convolution layer including one or more filters; training the convolutional neural network based on the set of training inputs; and binarizing the convolution layer by converting parameters of the one or more filters from floating point to binary values.