A Convergent Method for Energy Optimization in Modern Hopfield Networks | Synapse