Neuromorphic devices assisted by machine learning algorithms | Synapse