Axp: A hw-sw co-design pipeline for energy-efficient approximated convnets via associative matching