Neuromorphic Computing with Resistive Switching Devices.