Neural Network Accelerator Design for System on Chip