Associative memories using complex-valued Hopfield networks based on spin-torque oscillator arrays