The influence of non-stoichiometry on the switching kinetics of strontium-titanate ReRAM devices