Dielectric morphology and RRAM resistive switching characteristics