Ground states of planar dipolar rotor chains with recurrent neural networks | Synapse