Analogue spin–orbit torque device for artificial-neural-network-based associative memory operation | Synapse