Correspondence Between Ising Machines and Neural Networks