Learning recurrent dynamics in spiking networks | Synapse