Connecting RRAM Performance to the Properties of the Hafnia-based Dielectrics