domain specialization is generally unnecessary for accelerators .
DianNao: a small-footprint high-throughput accelerator for ubiquitous machine-learning