Training an Ising machine with equilibrium propagation | Synapse