Circuit Design and Silicon Prototypes for Compute-in-Memory for Deep Learning Inference Engine