Cost-effective stochastic MAC circuits for deep neural networks. (September 2019)