Hardware for Quantized Mixed-Precision Deep Neural Networks