Localized switching mechanism in resistive switching of atomic-layer-deposited TiO2 thin films | Synapse