Direct observation of conducting filaments on resistive switching of NiO thin films | Synapse