Automatic, scalable and transferable training of potentials | Synapse