A closed-loop design to enhance weight stability of memristor based neural network chips
short - term memory to long - term memory transition in a nanoscale memristor .