arxiv DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients