Active Electrode Dependence of HfO x -Based Flexible RRAM With a Stack Engineered Thermal Enhancement Layer | Synapse