1 A Programmable Neural-Network Inference Accelerator Based on Scalable In-Memory Computing | Synapse