Reliability of analog resistive switching memory for neuromorphic computing | Synapse