System Design for In-Hardware STDP Learning and Spiking Based Probablistic Inference | IEEE Conference Publication | IEEE Xplore