A methodology for accurate benchmarking of neural network accelerators using a high-level synthesis-based hardware generator | Synapse