Memristor-based neural networks: a bridge from device to artificial intelligence | Synapse