Analytical Calculation of Inference in Memristor-based Stochastic Artificial Neural Networks | IEEE Conference Publication | IEEE Xplore