Hewlett Packard Labs has developed a memristor capable of learning in the same way as the brain for neuromorphic AI.