Accelerator Architectures for Deep Learning and Graph Processing